pub struct AddressBeneficiary {Show 16 fields
pub currency: String,
pub address: String,
pub user_id: Option<u64>,
pub agreed: bool,
pub personal: bool,
pub unhosted: bool,
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>,
pub tag: Option<String>,
pub creation_timestamp: Option<u64>,
pub update_timestamp: Option<u64>,
}Expand description
Address beneficiary information returned by save/get/list operations.
Contains all information about a beneficiary associated with a cryptocurrency address for travel rule compliance.
Fields§
§currency: StringCurrency symbol (e.g., “BTC”, “ETH”)
address: StringAddress in proper format for the currency
user_id: Option<u64>User ID associated with this beneficiary
agreed: boolWhether the user agreed to share information with third parties
personal: boolWhether this is a personal wallet owned by the user
unhosted: boolWhether the address belongs to an unhosted wallet
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
tag: Option<String>Tag for XRP addresses (optional)
creation_timestamp: Option<u64>Creation timestamp in milliseconds since Unix epoch
update_timestamp: Option<u64>Update timestamp in milliseconds since Unix epoch
Trait Implementations§
Source§impl Clone for AddressBeneficiary
impl Clone for AddressBeneficiary
Source§fn clone(&self) -> AddressBeneficiary
fn clone(&self) -> AddressBeneficiary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AddressBeneficiary
impl Debug for AddressBeneficiary
Source§impl<'de> Deserialize<'de> for AddressBeneficiary
impl<'de> Deserialize<'de> for AddressBeneficiary
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 PartialEq for AddressBeneficiary
impl PartialEq for AddressBeneficiary
Source§fn eq(&self, other: &AddressBeneficiary) -> bool
fn eq(&self, other: &AddressBeneficiary) -> bool
self and other values to be equal, and is used by ==.