pub struct EntityEvent {
pub entity_id: EntityId,
pub event_type: EntityEventType,
pub event_date: NaiveDate,
pub description: Option<String>,
}Expand description
Event in an entity’s lifecycle.
Fields§
§entity_id: EntityIdEntity this event relates to
event_type: EntityEventTypeType of event
event_date: NaiveDateDate the event occurred
description: Option<String>Description of the event
Trait Implementations§
Source§impl Clone for EntityEvent
impl Clone for EntityEvent
Source§fn clone(&self) -> EntityEvent
fn clone(&self) -> EntityEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityEvent
impl Debug for EntityEvent
Source§impl<'de> Deserialize<'de> for EntityEvent
impl<'de> Deserialize<'de> for EntityEvent
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
Auto Trait Implementations§
impl Freeze for EntityEvent
impl RefUnwindSafe for EntityEvent
impl Send for EntityEvent
impl Sync for EntityEvent
impl Unpin for EntityEvent
impl UnwindSafe for EntityEvent
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