pub struct VotingPowerRequestGenerator {
rest_client: RestClient,
snapshot: Snapshot,
max_splits: usize,
}
Fields§
§rest_client: RestClient
§snapshot: Snapshot
§max_splits: usize
Implementations§
source§impl VotingPowerRequestGenerator
impl VotingPowerRequestGenerator
pub fn new(snapshot: Snapshot, rest_client: RestClient) -> Self
Trait Implementations§
source§impl Clone for VotingPowerRequestGenerator
impl Clone for VotingPowerRequestGenerator
source§fn clone(&self) -> VotingPowerRequestGenerator
fn clone(&self) -> VotingPowerRequestGenerator
Returns a copy of the value. Read more
1.0.0 · 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 VotingPowerRequestGenerator
impl Debug for VotingPowerRequestGenerator
Auto Trait Implementations§
impl RefUnwindSafe for VotingPowerRequestGenerator
impl Send for VotingPowerRequestGenerator
impl Sync for VotingPowerRequestGenerator
impl Unpin for VotingPowerRequestGenerator
impl UnwindSafe for VotingPowerRequestGenerator
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