pub struct ProvenState {
pub key: String,
pub present: bool,
pub ledger_index: u32,
pub ledger_hash: String,
}Expand description
What the proof establishes.
Fields§
§key: String§present: bool§ledger_index: u32§ledger_hash: StringLedger hash; whether it is confirmed is checked separately.
Trait Implementations§
Source§impl Clone for ProvenState
impl Clone for ProvenState
Source§fn clone(&self) -> ProvenState
fn clone(&self) -> ProvenState
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 ProvenState
impl Debug for ProvenState
impl Eq for ProvenState
Source§impl PartialEq for ProvenState
impl PartialEq for ProvenState
Source§impl Serialize for ProvenState
impl Serialize for ProvenState
impl StructuralPartialEq for ProvenState
Auto Trait Implementations§
impl Freeze for ProvenState
impl RefUnwindSafe for ProvenState
impl Send for ProvenState
impl Sync for ProvenState
impl Unpin for ProvenState
impl UnsafeUnpin for ProvenState
impl UnwindSafe for ProvenState
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