pub struct LifeEvent {
pub kind: i32,
pub severity: i32,
pub citizen: usize,
pub extra: Option<(Option<String>, String)>,
}Expand description
An event the citizens’ update asks the log for.
Original: FUN_140118fc0.
Fields§
§kind: i32The event type.
severity: i32How important the event is.
citizen: usizeThe citizen.
extra: Option<(Option<String>, String)>@4: a disease’s or accident’s name (string-table key and table).
Trait Implementations§
impl StructuralPartialEq for LifeEvent
Auto Trait Implementations§
impl Freeze for LifeEvent
impl RefUnwindSafe for LifeEvent
impl Send for LifeEvent
impl Sync for LifeEvent
impl Unpin for LifeEvent
impl UnsafeUnpin for LifeEvent
impl UnwindSafe for LifeEvent
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