Struct paystack::PaystackClient
source · pub struct PaystackClient {
pub transaction: Transaction,
pub transaction_split: TransactionSplit,
pub subaccount: Subaccount,
}Expand description
This is the struct that allows you to authenticate to the PayStack API. It contains the API key which allows you to interact with the API.
Fields§
§transaction: TransactionTransaction API route
transaction_split: TransactionSplitTransaction Split API route
subaccount: SubaccountSubaccount API route
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PaystackClient
impl Send for PaystackClient
impl Sync for PaystackClient
impl Unpin for PaystackClient
impl UnwindSafe for PaystackClient
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