pub struct TimestampNode {
pub attestations: Vec<Attestation>,
pub ops: Vec<(Op, TimestampNode)>,
}Expand description
One node of the timestamp tree: attestations plus op-edges.
Fields§
§attestations: Vec<Attestation>Attestations on this node’s message.
ops: Vec<(Op, TimestampNode)>Op edges; each child continues from the op’s result.
Implementations§
Trait Implementations§
Source§impl Clone for TimestampNode
impl Clone for TimestampNode
Source§fn clone(&self) -> TimestampNode
fn clone(&self) -> TimestampNode
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 TimestampNode
impl Debug for TimestampNode
Source§impl Default for TimestampNode
impl Default for TimestampNode
Source§fn default() -> TimestampNode
fn default() -> TimestampNode
Returns the “default value” for a type. Read more
impl Eq for TimestampNode
Source§impl PartialEq for TimestampNode
impl PartialEq for TimestampNode
Source§fn eq(&self, other: &TimestampNode) -> bool
fn eq(&self, other: &TimestampNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimestampNode
Auto Trait Implementations§
impl Freeze for TimestampNode
impl RefUnwindSafe for TimestampNode
impl Send for TimestampNode
impl Sync for TimestampNode
impl Unpin for TimestampNode
impl UnsafeUnpin for TimestampNode
impl UnwindSafe for TimestampNode
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