pub struct SubaccountBodyBuilder { /* private fields */ }
Expand description
Builder for SubaccountBody
.
Implementations§
Source§impl SubaccountBodyBuilder
impl SubaccountBodyBuilder
Sourcepub fn subaccount(&mut self, value: String) -> &mut Self
pub fn subaccount(&mut self, value: String) -> &mut Self
This is the subaccount code
This is the transaction share for the subaccount
Sourcepub fn build(&self) -> Result<SubaccountBody, SubaccountBodyBuilderError>
pub fn build(&self) -> Result<SubaccountBody, SubaccountBodyBuilderError>
Trait Implementations§
Source§impl Clone for SubaccountBodyBuilder
impl Clone for SubaccountBodyBuilder
Source§fn clone(&self) -> SubaccountBodyBuilder
fn clone(&self) -> SubaccountBodyBuilder
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 SubaccountBodyBuilder
impl RefUnwindSafe for SubaccountBodyBuilder
impl Send for SubaccountBodyBuilder
impl Sync for SubaccountBodyBuilder
impl Unpin for SubaccountBodyBuilder
impl UnwindSafe for SubaccountBodyBuilder
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