pub struct ParametersBuilder { /* private fields */ }Implementations§
Source§impl ParametersBuilder
impl ParametersBuilder
pub fn new() -> ParametersBuilder
pub fn with_round_idx(self, round_idx: u64) -> Self
pub fn with_round_id(self, round_id: [u8; 32]) -> Self
pub fn with_transaction_id(self, transaction_id: [u8; 32]) -> Self
pub fn with_sender(self, sender: [u8; 32]) -> Self
pub fn with_amount(self, amount: u64) -> Self
pub fn write<T: Writeable + ?Sized>(&mut self, x: &T)
pub fn build(self) -> Parameters
Trait Implementations§
Source§impl Default for ParametersBuilder
impl Default for ParametersBuilder
Source§fn default() -> ParametersBuilder
fn default() -> ParametersBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParametersBuilder
impl RefUnwindSafe for ParametersBuilder
impl Send for ParametersBuilder
impl Sync for ParametersBuilder
impl Unpin for ParametersBuilder
impl UnwindSafe for ParametersBuilder
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