pub struct EventObservation {
pub event_id: Uuid,
pub entity_id: Uuid,
pub referent_kind: ReferentKind,
pub role: ObservationRole,
pub position: u32,
}Expand description
A single entity observation recorded alongside an event.
Fields§
§event_id: Uuid§entity_id: Uuid§referent_kind: ReferentKind§role: ObservationRole§position: u32Trait Implementations§
Source§impl Clone for EventObservation
impl Clone for EventObservation
Source§fn clone(&self) -> EventObservation
fn clone(&self) -> EventObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventObservation
impl Debug for EventObservation
Source§impl<'de> Deserialize<'de> for EventObservation
impl<'de> Deserialize<'de> for EventObservation
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 EventObservation
Source§impl PartialEq for EventObservation
impl PartialEq for EventObservation
Source§fn eq(&self, other: &EventObservation) -> bool
fn eq(&self, other: &EventObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventObservation
impl Serialize for EventObservation
impl StructuralPartialEq for EventObservation
Auto Trait Implementations§
impl Freeze for EventObservation
impl RefUnwindSafe for EventObservation
impl Send for EventObservation
impl Sync for EventObservation
impl Unpin for EventObservation
impl UnsafeUnpin for EventObservation
impl UnwindSafe for EventObservation
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