Struct paystack::UpdateTransactionSplitBody
source · pub struct UpdateTransactionSplitBody {
pub name: String,
pub active: bool,
pub bearer_type: Option<BearerType>,
pub bearer_subaccount: Option<SubaccountBody>,
}
Expand description
This struct is used to update a transaction split details on your integration.
The struct is constructed using the UpdateTransactionSplitBodyBuilder
Fields§
§name: String
Name of the transaction split
active: bool
True or False
bearer_type: Option<BearerType>
Any of subaccount
bearer_subaccount: Option<SubaccountBody>
Subaccount code of a subaccount in the split group. This should be specified only if the `bearer_type is subaccount
Trait Implementations§
source§impl Debug for UpdateTransactionSplitBody
impl Debug for UpdateTransactionSplitBody
Auto Trait Implementations§
impl RefUnwindSafe for UpdateTransactionSplitBody
impl Send for UpdateTransactionSplitBody
impl Sync for UpdateTransactionSplitBody
impl Unpin for UpdateTransactionSplitBody
impl UnwindSafe for UpdateTransactionSplitBody
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