pub struct DepositTravelRuleOriginator {
pub address: Option<PhysicalAddress>,
pub date_of_birth: Option<DateOfBirth>,
pub name: Option<String>,
pub personal_id: Option<String>,
pub virtual_asset_service_provider: Option<DepositTravelRuleVasp>,
pub wallet_type: Option<DepositTravelRuleOriginatorWalletType>,
}Expand description
Originator information for a deposit travel rule submission.
JSON schema
{
"description": "Originator information for a deposit travel rule submission.",
"examples": [
{
"address": {
"city": "San Francisco",
"countryCode": "US",
"line1": "123 Main St",
"postCode": "94105",
"state": "CA"
},
"name": "John Doe",
"vasp": {
"identifier": "5493001KJTIIGC8Y1R17",
"name": "Fidelity Digital Asset Services, LLC"
},
"walletType": "custodial"
}
],
"type": "object",
"properties": {
"address": {
"$ref": "#/components/schemas/PhysicalAddress"
},
"dateOfBirth": {
"$ref": "#/components/schemas/DateOfBirth"
},
"name": {
"description": "Full name of the originator.",
"examples": [
"John Doe"
],
"type": "string"
},
"personalId": {
"description": "Government-issued personal identification number for the originator.",
"examples": [
"123-45-6789"
],
"type": "string"
},
"virtualAssetServiceProvider": {
"$ref": "#/components/schemas/DepositTravelRuleVasp"
},
"walletType": {
"description": "The type of the originator's wallet.",
"examples": [
"custodial"
],
"type": "string",
"enum": [
"custodial",
"self_custody"
],
"x-enum-descriptions": [
"The originator's wallet is held by a custodial service.",
"The originator's wallet is self-custodied."
]
}
}
}Fields§
§address: Option<PhysicalAddress>§date_of_birth: Option<DateOfBirth>§name: Option<String>Full name of the originator.
personal_id: Option<String>Government-issued personal identification number for the originator.
virtual_asset_service_provider: Option<DepositTravelRuleVasp>§wallet_type: Option<DepositTravelRuleOriginatorWalletType>The type of the originator’s wallet.
Implementations§
Trait Implementations§
Source§impl Clone for DepositTravelRuleOriginator
impl Clone for DepositTravelRuleOriginator
Source§fn clone(&self) -> DepositTravelRuleOriginator
fn clone(&self) -> DepositTravelRuleOriginator
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 DepositTravelRuleOriginator
impl Debug for DepositTravelRuleOriginator
Source§impl<'de> Deserialize<'de> for DepositTravelRuleOriginator
impl<'de> Deserialize<'de> for DepositTravelRuleOriginator
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<&DepositTravelRuleOriginator> for DepositTravelRuleOriginator
impl From<&DepositTravelRuleOriginator> for DepositTravelRuleOriginator
Source§fn from(value: &DepositTravelRuleOriginator) -> Self
fn from(value: &DepositTravelRuleOriginator) -> Self
Converts to this type from the input type.
Source§impl From<DepositTravelRuleOriginator> for DepositTravelRuleOriginator
impl From<DepositTravelRuleOriginator> for DepositTravelRuleOriginator
Source§fn from(value: DepositTravelRuleOriginator) -> Self
fn from(value: DepositTravelRuleOriginator) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DepositTravelRuleOriginator> for DepositTravelRuleOriginator
impl TryFrom<DepositTravelRuleOriginator> for DepositTravelRuleOriginator
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DepositTravelRuleOriginator) -> Result<Self, ConversionError>
fn try_from(value: DepositTravelRuleOriginator) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DepositTravelRuleOriginator
impl RefUnwindSafe for DepositTravelRuleOriginator
impl Send for DepositTravelRuleOriginator
impl Sync for DepositTravelRuleOriginator
impl Unpin for DepositTravelRuleOriginator
impl UnsafeUnpin for DepositTravelRuleOriginator
impl UnwindSafe for DepositTravelRuleOriginator
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