pub struct ChainBuilder { /* private fields */ }Expand description
Builder for Chain.
Implementations§
Source§impl ChainBuilder
impl ChainBuilder
Sourcepub fn transactions(&mut self, value: ChainTransactions) -> &mut Self
pub fn transactions(&mut self, value: ChainTransactions) -> &mut Self
List of transactions.
Sourcepub fn difficulty(&mut self, value: f64) -> &mut Self
pub fn difficulty(&mut self, value: f64) -> &mut Self
Current difficulty level of the network.
Sourcepub fn wallets(&mut self, value: ChainWallets) -> &mut Self
pub fn wallets(&mut self, value: ChainWallets) -> &mut Self
Map to associate wallets with their corresponding addresses and balances.
Trait Implementations§
Source§impl Clone for ChainBuilder
impl Clone for ChainBuilder
Source§fn clone(&self) -> ChainBuilder
fn clone(&self) -> ChainBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ChainBuilder
impl RefUnwindSafe for ChainBuilder
impl Send for ChainBuilder
impl Sync for ChainBuilder
impl Unpin for ChainBuilder
impl UnwindSafe for ChainBuilder
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