pub struct LedgerIntegrity {
pub valid: bool,
pub entries_checked: i64,
pub first_invalid_seq: Option<i64>,
pub error: Option<String>,
pub checked_at: String,
}Expand description
LedgerIntegrity model.
Fields§
§valid: bool§entries_checked: i64§first_invalid_seq: Option<i64>Sequence of the first entry that failed verification. Absent when valid is true.
error: Option<String>§checked_at: StringTrait Implementations§
Source§impl Clone for LedgerIntegrity
impl Clone for LedgerIntegrity
Source§fn clone(&self) -> LedgerIntegrity
fn clone(&self) -> LedgerIntegrity
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 LedgerIntegrity
impl Debug for LedgerIntegrity
Source§impl Default for LedgerIntegrity
impl Default for LedgerIntegrity
Source§fn default() -> LedgerIntegrity
fn default() -> LedgerIntegrity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LedgerIntegrity
impl<'de> Deserialize<'de> for LedgerIntegrity
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
Source§impl PartialEq for LedgerIntegrity
impl PartialEq for LedgerIntegrity
Source§impl Serialize for LedgerIntegrity
impl Serialize for LedgerIntegrity
impl StructuralPartialEq for LedgerIntegrity
Auto Trait Implementations§
impl Freeze for LedgerIntegrity
impl RefUnwindSafe for LedgerIntegrity
impl Send for LedgerIntegrity
impl Sync for LedgerIntegrity
impl Unpin for LedgerIntegrity
impl UnsafeUnpin for LedgerIntegrity
impl UnwindSafe for LedgerIntegrity
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