pub struct CoordinationChain { /* private fields */ }Expand description
Verified global replay index for one complete genesis-rooted snapshot.
Implementations§
Source§impl CoordinationChain
impl CoordinationChain
Sourcepub const fn records(&self) -> u64
pub const fn records(&self) -> u64
Number of contiguous records, including the selected last burn.
Sourcepub const fn selected_burn(&self) -> &VerifiedCoordinationBurn
pub const fn selected_burn(&self) -> &VerifiedCoordinationBurn
Exact last history record, run binding, and selected receipt.
Sourcepub fn contains_run_id(&self, run_id: &str) -> bool
pub fn contains_run_id(&self, run_id: &str) -> bool
Reports whether a run identity already exists anywhere in the history.
Sourcepub fn contains_intent_sha256(&self, sha256: &str) -> bool
pub fn contains_intent_sha256(&self, sha256: &str) -> bool
Reports whether an intent digest already exists anywhere in the history.
Trait Implementations§
Source§impl Clone for CoordinationChain
impl Clone for CoordinationChain
Source§fn clone(&self) -> CoordinationChain
fn clone(&self) -> CoordinationChain
Returns a duplicate of the value. Read more
1.0.0 · 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 CoordinationChain
impl Debug for CoordinationChain
Source§impl PartialEq for CoordinationChain
impl PartialEq for CoordinationChain
impl Eq for CoordinationChain
impl StructuralPartialEq for CoordinationChain
Auto Trait Implementations§
impl Freeze for CoordinationChain
impl RefUnwindSafe for CoordinationChain
impl Send for CoordinationChain
impl Sync for CoordinationChain
impl Unpin for CoordinationChain
impl UnsafeUnpin for CoordinationChain
impl UnwindSafe for CoordinationChain
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