pub struct ObjectCheck {
pub key: Option<String>,
pub present: Option<bool>,
pub ledger_index: Option<u32>,
pub proven: bool,
pub via_chain: bool,
pub error: Option<String>,
}Expand description
Result for one state object in the bundle.
Fields§
§key: Option<String>§present: Option<bool>Whether the object is in the ledger or its absence is proved.
ledger_index: Option<u32>§proven: boolThe path checks out, and the ledger is confirmed by quorum or linked to a confirmed one by a hash chain.
via_chain: boolThe ledger is linked to a confirmed one by hashes rather than confirmed itself.
error: Option<String>Trait Implementations§
Source§impl Clone for ObjectCheck
impl Clone for ObjectCheck
Source§fn clone(&self) -> ObjectCheck
fn clone(&self) -> ObjectCheck
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 ObjectCheck
impl Debug for ObjectCheck
impl Eq for ObjectCheck
Source§impl PartialEq for ObjectCheck
impl PartialEq for ObjectCheck
Source§impl Serialize for ObjectCheck
impl Serialize for ObjectCheck
impl StructuralPartialEq for ObjectCheck
Auto Trait Implementations§
impl Freeze for ObjectCheck
impl RefUnwindSafe for ObjectCheck
impl Send for ObjectCheck
impl Sync for ObjectCheck
impl Unpin for ObjectCheck
impl UnsafeUnpin for ObjectCheck
impl UnwindSafe for ObjectCheck
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