pub struct SnapshotUpdater {
snapshot: Snapshot,
}
Fields§
§snapshot: Snapshot
Implementations§
source§impl SnapshotUpdater
impl SnapshotUpdater
pub fn with_tag<S: Into<String>>(self, tag: S) -> Self
pub fn add_new_arbitrary_voters(self) -> Self
pub fn add_contributions_to_voter( self, contributions: Vec<KeyContribution>, voting_key: &Identifier ) -> Self
pub fn update_voting_power(self) -> Self
pub fn build(self) -> Snapshot
Trait Implementations§
source§impl Debug for SnapshotUpdater
impl Debug for SnapshotUpdater
Auto Trait Implementations§
impl RefUnwindSafe for SnapshotUpdater
impl Send for SnapshotUpdater
impl Sync for SnapshotUpdater
impl Unpin for SnapshotUpdater
impl UnwindSafe for SnapshotUpdater
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