pub struct DepositService { /* private fields */ }Implementations§
Source§impl DepositService
impl DepositService
pub fn new(ctx: ServiceContext) -> Self
pub async fn list_addresses(&self) -> Result<DepositAddressesList>
pub async fn create_address( &self, req: CreateDepositAddressRequest, ) -> Result<DepositAddress>
Trait Implementations§
Source§impl Clone for DepositService
impl Clone for DepositService
Source§fn clone(&self) -> DepositService
fn clone(&self) -> DepositService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !Freeze for DepositService
impl !RefUnwindSafe for DepositService
impl !UnwindSafe for DepositService
impl Send for DepositService
impl Sync for DepositService
impl Unpin for DepositService
impl UnsafeUnpin for DepositService
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