pub struct TravelRuleOriginator {
pub address: Option<PhysicalAddress>,
pub financial_institution: Option<String>,
pub name: Option<String>,
pub virtual_asset_service_provider: Option<TravelRuleOriginatorVirtualAssetServiceProvider>,
}Expand description
Originator (sender) party.
JSON schema
{
"description": "Originator (sender) party.",
"allOf": [
{
"$ref": "#/components/schemas/TravelRuleParty"
},
{
"type": "object",
"properties": {
"virtualAssetServiceProvider": {
"description": "Information about the originating Virtual Asset Service Provider (VASP) that handles cryptocurrency or other virtual assets on behalf of customers.",
"type": "object",
"properties": {
"address": {
"$ref": "#/components/schemas/PhysicalAddress"
},
"identifier": {
"description": "The Legal Entity Identifier of the originating Virtual Asset Service Provider (VASP).",
"examples": [
"5493001KJTIIGC8Y1R17"
],
"type": "string"
},
"name": {
"description": "The name of the originating Virtual Asset Service Provider (VASP).",
"examples": [
"Fidelity Digital Asset Services, LLC"
],
"type": "string"
}
}
}
}
}
]
}Fields§
§address: Option<PhysicalAddress>§financial_institution: Option<String>Name of the financial institution.
name: Option<String>Full name of the party.
virtual_asset_service_provider: Option<TravelRuleOriginatorVirtualAssetServiceProvider>Implementations§
Source§impl TravelRuleOriginator
impl TravelRuleOriginator
pub fn builder() -> TravelRuleOriginator
Trait Implementations§
Source§impl Clone for TravelRuleOriginator
impl Clone for TravelRuleOriginator
Source§fn clone(&self) -> TravelRuleOriginator
fn clone(&self) -> TravelRuleOriginator
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 TravelRuleOriginator
impl Debug for TravelRuleOriginator
Source§impl Default for TravelRuleOriginator
impl Default for TravelRuleOriginator
Source§impl<'de> Deserialize<'de> for TravelRuleOriginator
impl<'de> Deserialize<'de> for TravelRuleOriginator
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<&TravelRuleOriginator> for TravelRuleOriginator
impl From<&TravelRuleOriginator> for TravelRuleOriginator
Source§fn from(value: &TravelRuleOriginator) -> Self
fn from(value: &TravelRuleOriginator) -> Self
Converts to this type from the input type.
Source§impl From<TravelRuleOriginator> for TravelRuleOriginator
impl From<TravelRuleOriginator> for TravelRuleOriginator
Source§fn from(value: TravelRuleOriginator) -> Self
fn from(value: TravelRuleOriginator) -> Self
Converts to this type from the input type.
Source§impl Serialize for TravelRuleOriginator
impl Serialize for TravelRuleOriginator
Source§impl TryFrom<TravelRuleOriginator> for TravelRuleOriginator
impl TryFrom<TravelRuleOriginator> for TravelRuleOriginator
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TravelRuleOriginator) -> Result<Self, ConversionError>
fn try_from(value: TravelRuleOriginator) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TravelRuleOriginator
impl RefUnwindSafe for TravelRuleOriginator
impl Send for TravelRuleOriginator
impl Sync for TravelRuleOriginator
impl Unpin for TravelRuleOriginator
impl UnsafeUnpin for TravelRuleOriginator
impl UnwindSafe for TravelRuleOriginator
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