pub struct OtsWireVerification {
pub pending: Vec<(Vec<u8>, String)>,
pub bitcoin: Vec<(Vec<u8>, u32)>,
pub litecoin: Vec<(Vec<u8>, u32)>,
}Expand description
Replay summary: every attestation paired with the terminal message it actually commits.
Fields§
§pending: Vec<(Vec<u8>, String)>Pending calendar attestations: (committed message, URI).
bitcoin: Vec<(Vec<u8>, u32)>Bitcoin header attestations: (committed message, height).
litecoin: Vec<(Vec<u8>, u32)>Litecoin header attestations: (committed message, height).
Implementations§
Source§impl OtsWireVerification
impl OtsWireVerification
Sourcepub fn has_attestation(&self) -> bool
pub fn has_attestation(&self) -> bool
Whether the proof carries any attestation at all.
Trait Implementations§
Source§impl Clone for OtsWireVerification
impl Clone for OtsWireVerification
Source§fn clone(&self) -> OtsWireVerification
fn clone(&self) -> OtsWireVerification
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 OtsWireVerification
impl Debug for OtsWireVerification
Source§impl Default for OtsWireVerification
impl Default for OtsWireVerification
Source§fn default() -> OtsWireVerification
fn default() -> OtsWireVerification
Returns the “default value” for a type. Read more
impl Eq for OtsWireVerification
Source§impl PartialEq for OtsWireVerification
impl PartialEq for OtsWireVerification
Source§fn eq(&self, other: &OtsWireVerification) -> bool
fn eq(&self, other: &OtsWireVerification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OtsWireVerification
Auto Trait Implementations§
impl Freeze for OtsWireVerification
impl RefUnwindSafe for OtsWireVerification
impl Send for OtsWireVerification
impl Sync for OtsWireVerification
impl Unpin for OtsWireVerification
impl UnsafeUnpin for OtsWireVerification
impl UnwindSafe for OtsWireVerification
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