pub enum Attestation {
Pending(String),
BitcoinBlockHeader(u32),
LitecoinBlockHeader(u32),
}Expand description
An attestation on a terminal message of the proof tree.
Variants§
Pending(String)
Commitment recorded at a remote calendar for future attestation (URI).
BitcoinBlockHeader(u32)
Anchored in the Bitcoin block header chain at a height.
LitecoinBlockHeader(u32)
Anchored in the Litecoin block header chain at a height.
Trait Implementations§
Source§impl Clone for Attestation
impl Clone for Attestation
Source§fn clone(&self) -> Attestation
fn clone(&self) -> Attestation
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 Attestation
impl Debug for Attestation
impl Eq for Attestation
Source§impl Hash for Attestation
impl Hash for Attestation
Source§impl Ord for Attestation
impl Ord for Attestation
Source§fn cmp(&self, other: &Attestation) -> Ordering
fn cmp(&self, other: &Attestation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Attestation
impl PartialEq for Attestation
Source§fn eq(&self, other: &Attestation) -> bool
fn eq(&self, other: &Attestation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Attestation
impl PartialOrd for Attestation
impl StructuralPartialEq for Attestation
Auto Trait Implementations§
impl Freeze for Attestation
impl RefUnwindSafe for Attestation
impl Send for Attestation
impl Sync for Attestation
impl Unpin for Attestation
impl UnsafeUnpin for Attestation
impl UnwindSafe for Attestation
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