pub struct TransfersService { /* private fields */ }Implementations§
Source§impl TransfersService
impl TransfersService
pub fn new(ctx: ServiceContext) -> Self
Source§impl TransfersService
impl TransfersService
pub async fn list(&self, req: ListTransfersRequest) -> Result<TransfersList>
Sourcepub async fn subscribe(
&self,
account_id: Option<&str>,
) -> Result<TypedSubscription<LedgerTransfer>>
pub async fn subscribe( &self, account_id: Option<&str>, ) -> Result<TypedSubscription<LedgerTransfer>>
Subscribe to private transfer updates (requires realtime feature).
Trait Implementations§
Source§impl Clone for TransfersService
impl Clone for TransfersService
Source§fn clone(&self) -> TransfersService
fn clone(&self) -> TransfersService
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 TransfersService
impl !RefUnwindSafe for TransfersService
impl !UnwindSafe for TransfersService
impl Send for TransfersService
impl Sync for TransfersService
impl Unpin for TransfersService
impl UnsafeUnpin for TransfersService
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