pub struct LedgerRecord {
pub epoch: u64,
pub dimensions: (u32, u32),
pub state_hash: StateHash,
}Fields§
§epoch: u64§dimensions: (u32, u32)§state_hash: StateHashImplementations§
Source§impl LedgerRecord
impl LedgerRecord
Sourcepub fn from_snapshot(snapshot: &SimulationSnapshot) -> Self
pub fn from_snapshot(snapshot: &SimulationSnapshot) -> Self
Constructs from snapshot.
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