Struct snapshot_lib::sve::Snapshot
source · pub struct Snapshot {
inner: HashMap<Identifier, Vec<VotingRegistration>>,
}
Fields§
§inner: HashMap<Identifier, Vec<VotingRegistration>>
Implementations§
source§impl Snapshot
impl Snapshot
pub fn new( raw_snapshot: RawSnapshot, min_stake_threshold: Value ) -> (Self, usize)
pub fn to_block0_initials( &self, discrimination: Discrimination, lovelace: bool ) -> Vec<InitialUTxO>
Auto Trait Implementations§
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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