pub struct AddressBookEntry {Show 17 fields
pub address: String,
pub currency: String,
pub entry_type: Option<String>,
pub label: Option<String>,
pub creation_timestamp: Option<u64>,
pub update_timestamp: Option<u64>,
pub agreed: Option<bool>,
pub personal: Option<bool>,
pub unhosted: Option<bool>,
pub tag: Option<String>,
pub beneficiary_vasp_name: Option<String>,
pub beneficiary_vasp_did: Option<String>,
pub beneficiary_vasp_website: Option<String>,
pub beneficiary_first_name: Option<String>,
pub beneficiary_last_name: Option<String>,
pub beneficiary_company_name: Option<String>,
pub beneficiary_address: Option<String>,
}Expand description
Address book entry containing wallet address information.
Represents an entry in the user’s address book, which can be used for withdrawals, transfers, or deposit source identification.
Fields§
§address: StringAddress in proper format for the currency
currency: StringCurrency symbol (e.g., “BTC”, “ETH”, “USDC”)
entry_type: Option<String>Type of address book entry
label: Option<String>User-defined label for the address
creation_timestamp: Option<u64>Timestamp when the entry was created, in milliseconds since Unix epoch
update_timestamp: Option<u64>Timestamp when the entry was last updated, in milliseconds since Unix epoch
agreed: Option<bool>Whether the user agreed to share information with third parties
personal: Option<bool>Whether the address belongs to the user (personal/un-hosted wallet)
unhosted: Option<bool>Whether the address belongs to an unhosted wallet
tag: Option<String>Tag for XRP addresses (destination tag)
beneficiary_vasp_name: Option<String>Name of the beneficiary VASP (Virtual Asset Service Provider)
beneficiary_vasp_did: Option<String>DID (Decentralized Identifier) of the beneficiary VASP
beneficiary_vasp_website: Option<String>Website of the beneficiary VASP
beneficiary_first_name: Option<String>First name of the beneficiary (if a person)
beneficiary_last_name: Option<String>Last name of the beneficiary (if a person)
beneficiary_company_name: Option<String>Company name of the beneficiary (if a company)
beneficiary_address: Option<String>Geographical address of the beneficiary
Implementations§
Trait Implementations§
Source§impl Clone for AddressBookEntry
impl Clone for AddressBookEntry
Source§fn clone(&self) -> AddressBookEntry
fn clone(&self) -> AddressBookEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AddressBookEntry
impl Debug for AddressBookEntry
Source§impl<'de> Deserialize<'de> for AddressBookEntry
impl<'de> Deserialize<'de> for AddressBookEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for AddressBookEntry
impl Display for AddressBookEntry
Auto Trait Implementations§
impl Freeze for AddressBookEntry
impl RefUnwindSafe for AddressBookEntry
impl Send for AddressBookEntry
impl Sync for AddressBookEntry
impl Unpin for AddressBookEntry
impl UnsafeUnpin for AddressBookEntry
impl UnwindSafe for AddressBookEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.