pub struct ComponentSnapshot {
pub system: ProtocolSystem,
pub state: ProtocolComponentState,
pub updated_at: WriteTimestamp,
}Expand description
One component’s live state, timestamped with the newest valid_from among its rows or, for a
component without rows, its created_at.
Fields§
§system: ProtocolSystem§state: ProtocolComponentState§updated_at: WriteTimestampTrait Implementations§
Source§impl Clone for ComponentSnapshot
impl Clone for ComponentSnapshot
Source§impl Debug for ComponentSnapshot
impl Debug for ComponentSnapshot
Source§impl PartialEq for ComponentSnapshot
impl PartialEq for ComponentSnapshot
impl StructuralPartialEq for ComponentSnapshot
Auto Trait Implementations§
impl Freeze for ComponentSnapshot
impl RefUnwindSafe for ComponentSnapshot
impl Send for ComponentSnapshot
impl Sync for ComponentSnapshot
impl Unpin for ComponentSnapshot
impl UnsafeUnpin for ComponentSnapshot
impl UnwindSafe for ComponentSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more