pub struct AddressBookService { /* private fields */ }Implementations§
Source§impl AddressBookService
impl AddressBookService
pub fn new(ctx: ServiceContext) -> Self
Source§impl AddressBookService
impl AddressBookService
Sourcepub async fn subscribe(
&self,
account_id: Option<&str>,
) -> Result<TypedSubscription<AddressBookViewInvalidation>>
pub async fn subscribe( &self, account_id: Option<&str>, ) -> Result<TypedSubscription<AddressBookViewInvalidation>>
Subscribe to address-book view invalidations (requires realtime feature).
Sourcepub async fn subscribe_view_invalidations(
&self,
root_account_public_id: Option<&str>,
) -> Result<TypedSubscription<AddressBookViewInvalidation>>
pub async fn subscribe_view_invalidations( &self, root_account_public_id: Option<&str>, ) -> Result<TypedSubscription<AddressBookViewInvalidation>>
Alias for Self::subscribe (Go SubscribeViewInvalidations parity).
pub async fn list_books( &self, req: ListAddressBooksRequest, ) -> Result<AddressBooksList>
pub async fn list_entries( &self, req: ListAddressBookEntriesRequest, ) -> Result<AddressBookEntriesList>
pub async fn list_transfer_counterparties( &self, req: ListTransferCounterpartiesRequest, ) -> Result<ApiData>
pub async fn list_transfer_destinations( &self, req: ListTransferDestinationsRequest, ) -> Result<ApiData>
pub async fn list_internal_transfer_whitelist_entries( &self, req: ListInternalTransferWhitelistEntriesRequest, ) -> Result<ApiData>
pub async fn get_withdraw_whitelist_view( &self, req: GetWithdrawWhitelistViewRequest, ) -> Result<ApiData>
pub async fn get_view(&self, req: GetAddressBookViewRequest) -> Result<ApiData>
Trait Implementations§
Source§impl Clone for AddressBookService
impl Clone for AddressBookService
Source§fn clone(&self) -> AddressBookService
fn clone(&self) -> AddressBookService
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 AddressBookService
impl !RefUnwindSafe for AddressBookService
impl !UnwindSafe for AddressBookService
impl Send for AddressBookService
impl Sync for AddressBookService
impl Unpin for AddressBookService
impl UnsafeUnpin for AddressBookService
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