pub struct Encounter {
pub id: Uuid,
pub campaign: Uuid,
pub plan: EncounterPlan,
pub version: u64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A stored plan: server-assigned metadata plus the plan itself.
Fields§
§id: Uuid§campaign: Uuid§plan: EncounterPlan§version: u64§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Encounter
impl<'de> Deserialize<'de> for Encounter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Encounter
impl StructuralPartialEq for Encounter
Auto Trait Implementations§
impl Freeze for Encounter
impl RefUnwindSafe for Encounter
impl Send for Encounter
impl Sync for Encounter
impl Unpin for Encounter
impl UnsafeUnpin for Encounter
impl UnwindSafe for Encounter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.