pub struct OutputSnapshot {
pub scope: ScopeId,
pub transaction_id: TransactionId,
pub revision: Revision,
pub state: Option<OutputPayload>,
pub cleared: bool,
pub frame: OutputFrameTrace,
}Expand description
Current ledger view for one materialized output.
Fields§
§scope: ScopeIdScope that owns the output.
transaction_id: TransactionIdLast transaction that emitted a frame.
revision: RevisionLast revision observed for this output.
state: Option<OutputPayload>Current consumer state after applying frames.
cleared: boolWhether a clear frame has been observed.
frame: OutputFrameTraceLast frame trace observed for this output.
Implementations§
Trait Implementations§
Source§impl Clone for OutputSnapshot
impl Clone for OutputSnapshot
Source§fn clone(&self) -> OutputSnapshot
fn clone(&self) -> OutputSnapshot
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 OutputSnapshot
impl Debug for OutputSnapshot
Source§impl PartialEq for OutputSnapshot
impl PartialEq for OutputSnapshot
Source§fn eq(&self, other: &OutputSnapshot) -> bool
fn eq(&self, other: &OutputSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputSnapshot
Auto Trait Implementations§
impl !RefUnwindSafe for OutputSnapshot
impl !UnwindSafe for OutputSnapshot
impl Freeze for OutputSnapshot
impl Send for OutputSnapshot
impl Sync for OutputSnapshot
impl Unpin for OutputSnapshot
impl UnsafeUnpin for OutputSnapshot
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