pub struct TimelineEntry {
pub sequence: u64,
pub event: String,
pub tag: Option<NamespacedName>,
pub attribution: Attribution,
pub occurred_at: Timestamp,
pub recorded_at: Timestamp,
pub reason: Option<String>,
pub changes: Vec<FieldDiff>,
}Expand description
A readable history entry.
Fields§
§sequence: u64§event: String§tag: Option<NamespacedName>§attribution: Attribution§occurred_at: Timestamp§recorded_at: Timestamp§reason: Option<String>§changes: Vec<FieldDiff>Trait Implementations§
Source§impl Clone for TimelineEntry
impl Clone for TimelineEntry
Source§fn clone(&self) -> TimelineEntry
fn clone(&self) -> TimelineEntry
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 TimelineEntry
impl Debug for TimelineEntry
Source§impl<'de> Deserialize<'de> for TimelineEntry
impl<'de> Deserialize<'de> for TimelineEntry
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
Source§impl PartialEq for TimelineEntry
impl PartialEq for TimelineEntry
Source§impl Serialize for TimelineEntry
impl Serialize for TimelineEntry
impl StructuralPartialEq for TimelineEntry
Auto Trait Implementations§
impl Freeze for TimelineEntry
impl RefUnwindSafe for TimelineEntry
impl Send for TimelineEntry
impl Sync for TimelineEntry
impl Unpin for TimelineEntry
impl UnsafeUnpin for TimelineEntry
impl UnwindSafe for TimelineEntry
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