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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more