Struct paystack::SubaccountBodyBuilder
source · 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 sub account 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 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 moreAuto Trait Implementations§
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