Struct paystack::Subaccount
source · pub struct Subaccount {
pub subaccount: String,
pub share: u32,
}Expand description
This struct represents the subacount that bears the transaction split
Fields§
§subaccount: StringThis is the sub account code
This is the transaction share for the subaccount
Implementations§
Trait Implementations§
source§impl Clone for Subaccount
impl Clone for Subaccount
source§fn clone(&self) -> Subaccount
fn clone(&self) -> Subaccount
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 Subaccount
impl Debug for Subaccount
Auto Trait Implementations§
impl RefUnwindSafe for Subaccount
impl Send for Subaccount
impl Sync for Subaccount
impl Unpin for Subaccount
impl UnwindSafe for Subaccount
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