pub struct StateProof {
pub format: String,
pub ledger_header: String,
pub key: String,
pub object: Option<String>,
pub other_leaf: Option<OtherLeaf>,
pub path: Vec<Vec<String>>,
}Fields§
§format: String§ledger_header: StringLedger header, 118 bytes in hex.
key: String§object: Option<String>The object byte for byte; None means absence is being proved.
other_leaf: Option<OtherLeaf>Another leaf in the key’s slot, if the object is absent but the slot is taken.
path: Vec<Vec<String>>Inner nodes from the root down: 16 child hashes each, in hex.
Implementations§
Trait Implementations§
Source§impl Clone for StateProof
impl Clone for StateProof
Source§fn clone(&self) -> StateProof
fn clone(&self) -> StateProof
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 StateProof
impl Debug for StateProof
Source§impl<'de> Deserialize<'de> for StateProof
impl<'de> Deserialize<'de> for StateProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StateProof
Source§impl PartialEq for StateProof
impl PartialEq for StateProof
Source§impl Serialize for StateProof
impl Serialize for StateProof
impl StructuralPartialEq for StateProof
Auto Trait Implementations§
impl Freeze for StateProof
impl RefUnwindSafe for StateProof
impl Send for StateProof
impl Sync for StateProof
impl Unpin for StateProof
impl UnsafeUnpin for StateProof
impl UnwindSafe for StateProof
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