pub struct LedgerRecord {
pub seq: u64,
pub prev_hash: String,
pub hash: String,
pub version: u8,
/* private fields */
}Expand description
In-memory view of a verified record.
Fields§
§seq: u64§prev_hash: String§hash: String§version: u8Implementations§
Source§impl LedgerRecord
impl LedgerRecord
pub fn payload(&self) -> Result<LedgerPayload>
Trait Implementations§
Source§impl Clone for LedgerRecord
impl Clone for LedgerRecord
Auto Trait Implementations§
impl Freeze for LedgerRecord
impl RefUnwindSafe for LedgerRecord
impl Send for LedgerRecord
impl Sync for LedgerRecord
impl Unpin for LedgerRecord
impl UnsafeUnpin for LedgerRecord
impl UnwindSafe for LedgerRecord
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