pub struct Subaccounts { /* private fields */ }
Implementations§
Source§impl Subaccounts
impl Subaccounts
pub fn new(client: Client) -> Self
pub fn read(&self) -> Result<Vec<Subaccount>, Error>
pub fn create(&self, params: CreateParams) -> Result<CreateResponse, Error>
pub fn transfer_credits( &self, params: TransferCreditsParams, ) -> Result<TransferCreditsResponse, Error>
pub fn auto_charge( &self, params: AutoChargeParams, ) -> Result<AutoChargeResponse, Error>
pub fn delete(&self, params: DeleteParams) -> Result<DeleteResponse, Error>
Auto Trait Implementations§
impl Freeze for Subaccounts
impl RefUnwindSafe for Subaccounts
impl Send for Subaccounts
impl Sync for Subaccounts
impl Unpin for Subaccounts
impl UnwindSafe for Subaccounts
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