pub struct TravelRuleBeneficiary {
pub address: Option<PhysicalAddress>,
pub financial_institution: Option<String>,
pub name: Option<String>,
pub wallet_type: Option<TravelRuleBeneficiaryWalletType>,
}Expand description
Beneficiary (receiver) party.
JSON schema
{
"description": "Beneficiary (receiver) party.",
"allOf": [
{
"$ref": "#/components/schemas/TravelRuleParty"
},
{
"type": "object",
"properties": {
"walletType": {
"description": "The type of the beneficiary's wallet.",
"examples": [
"custodial"
],
"type": "string",
"enum": [
"custodial",
"self_custody"
]
}
}
}
]
}Fields§
§address: Option<PhysicalAddress>§financial_institution: Option<String>Name of the financial institution.
name: Option<String>Full name of the party.
wallet_type: Option<TravelRuleBeneficiaryWalletType>The type of the beneficiary’s wallet.
Implementations§
Source§impl TravelRuleBeneficiary
impl TravelRuleBeneficiary
pub fn builder() -> TravelRuleBeneficiary
Trait Implementations§
Source§impl Clone for TravelRuleBeneficiary
impl Clone for TravelRuleBeneficiary
Source§fn clone(&self) -> TravelRuleBeneficiary
fn clone(&self) -> TravelRuleBeneficiary
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 moreSource§impl Debug for TravelRuleBeneficiary
impl Debug for TravelRuleBeneficiary
Source§impl Default for TravelRuleBeneficiary
impl Default for TravelRuleBeneficiary
Source§impl<'de> Deserialize<'de> for TravelRuleBeneficiary
impl<'de> Deserialize<'de> for TravelRuleBeneficiary
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TravelRuleBeneficiary> for TravelRuleBeneficiary
impl From<&TravelRuleBeneficiary> for TravelRuleBeneficiary
Source§fn from(value: &TravelRuleBeneficiary) -> Self
fn from(value: &TravelRuleBeneficiary) -> Self
Converts to this type from the input type.
Source§impl From<TravelRuleBeneficiary> for TravelRuleBeneficiary
impl From<TravelRuleBeneficiary> for TravelRuleBeneficiary
Source§fn from(value: TravelRuleBeneficiary) -> Self
fn from(value: TravelRuleBeneficiary) -> Self
Converts to this type from the input type.
Source§impl Serialize for TravelRuleBeneficiary
impl Serialize for TravelRuleBeneficiary
Source§impl TryFrom<TravelRuleBeneficiary> for TravelRuleBeneficiary
impl TryFrom<TravelRuleBeneficiary> for TravelRuleBeneficiary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TravelRuleBeneficiary) -> Result<Self, ConversionError>
fn try_from(value: TravelRuleBeneficiary) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TravelRuleBeneficiary
impl RefUnwindSafe for TravelRuleBeneficiary
impl Send for TravelRuleBeneficiary
impl Sync for TravelRuleBeneficiary
impl Unpin for TravelRuleBeneficiary
impl UnsafeUnpin for TravelRuleBeneficiary
impl UnwindSafe for TravelRuleBeneficiary
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