pub struct TravelRuleParty {
pub address: Option<PhysicalAddress>,
pub financial_institution: Option<String>,
pub name: Option<String>,
}Expand description
Information about a party (originator or beneficiary) for travel rule compliance.
JSON schema
{
"description": "Information about a party (originator or beneficiary) for travel rule compliance.",
"examples": [
{
"address": {
"city": "San Francisco",
"countryCode": "US",
"line1": "123 Main St",
"line2": "Unit 201",
"postCode": "94105",
"state": "California"
},
"name": "John Doe"
}
],
"type": "object",
"properties": {
"address": {
"$ref": "#/components/schemas/PhysicalAddress"
},
"financialInstitution": {
"description": "Name of the financial institution.",
"examples": [
"PayPal, Inc."
],
"type": "string"
},
"name": {
"description": "Full name of the party.",
"examples": [
"John Doe"
],
"type": "string"
}
}
}Fields§
§address: Option<PhysicalAddress>§financial_institution: Option<String>Name of the financial institution.
name: Option<String>Full name of the party.
Implementations§
Source§impl TravelRuleParty
impl TravelRuleParty
pub fn builder() -> TravelRuleParty
Trait Implementations§
Source§impl Clone for TravelRuleParty
impl Clone for TravelRuleParty
Source§fn clone(&self) -> TravelRuleParty
fn clone(&self) -> TravelRuleParty
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 TravelRuleParty
impl Debug for TravelRuleParty
Source§impl Default for TravelRuleParty
impl Default for TravelRuleParty
Source§impl<'de> Deserialize<'de> for TravelRuleParty
impl<'de> Deserialize<'de> for TravelRuleParty
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<&TravelRuleParty> for TravelRuleParty
impl From<&TravelRuleParty> for TravelRuleParty
Source§fn from(value: &TravelRuleParty) -> Self
fn from(value: &TravelRuleParty) -> Self
Converts to this type from the input type.
Source§impl From<TravelRuleParty> for TravelRuleParty
impl From<TravelRuleParty> for TravelRuleParty
Source§fn from(value: TravelRuleParty) -> Self
fn from(value: TravelRuleParty) -> Self
Converts to this type from the input type.
Source§impl Serialize for TravelRuleParty
impl Serialize for TravelRuleParty
Source§impl TryFrom<TravelRuleParty> for TravelRuleParty
impl TryFrom<TravelRuleParty> for TravelRuleParty
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TravelRuleParty) -> Result<Self, ConversionError>
fn try_from(value: TravelRuleParty) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TravelRuleParty
impl RefUnwindSafe for TravelRuleParty
impl Send for TravelRuleParty
impl Sync for TravelRuleParty
impl Unpin for TravelRuleParty
impl UnsafeUnpin for TravelRuleParty
impl UnwindSafe for TravelRuleParty
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