pub struct LifeEventReport {
pub id: String,
pub title: String,
pub event_type: Option<String>,
pub wellbeing_impact: Option<String>,
pub occurred_at_unix: Option<u32>,
pub occurred_at_instant: Option<InstantBridge>,
pub notes: Option<String>,
}Fields§
§id: String§title: String§event_type: Option<String>§wellbeing_impact: Option<String>§occurred_at_unix: Option<u32>§occurred_at_instant: Option<InstantBridge>High-resolution instant (T71 bridge). Preferred over occurred_at_unix
when present; the u32 field is kept for backward-compatible deserialization.
notes: Option<String>Implementations§
Source§impl LifeEventReport
impl LifeEventReport
Sourcepub fn occurred_at(&self) -> Option<InstantBridge>
pub fn occurred_at(&self) -> Option<InstantBridge>
Resolve the occurred-at instant, preferring the high-resolution
InstantBridge field when present (T71 bridge).
Trait Implementations§
Source§impl Clone for LifeEventReport
impl Clone for LifeEventReport
Source§impl Debug for LifeEventReport
impl Debug for LifeEventReport
Source§impl<'de> Deserialize<'de> for LifeEventReport
impl<'de> Deserialize<'de> for LifeEventReport
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 LifeEventReport
Source§impl PartialEq for LifeEventReport
impl PartialEq for LifeEventReport
Source§impl Serialize for LifeEventReport
impl Serialize for LifeEventReport
impl StructuralPartialEq for LifeEventReport
Auto Trait Implementations§
impl Freeze for LifeEventReport
impl RefUnwindSafe for LifeEventReport
impl Send for LifeEventReport
impl Sync for LifeEventReport
impl Unpin for LifeEventReport
impl UnsafeUnpin for LifeEventReport
impl UnwindSafe for LifeEventReport
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