pub struct TravelRuleValidateTransactionRequest {
pub transaction_asset: String,
pub destination: String,
pub transaction_amount: String,
pub originator_vas_pdid: String,
pub originator_equals_beneficiary: bool,
pub travel_rule_behavior: Option<bool>,
pub beneficiary_vas_pdid: Option<String>,
pub beneficiary_vas_pname: Option<String>,
pub beneficiary_name: Option<String>,
pub beneficiary_account_number: Option<String>,
pub beneficiary_address: Option<TravelRuleAddress>,
}
Fields§
§transaction_asset: String
Transaction asset symbol BTC,ETH)
destination: String
Transaction destination address
transaction_amount: String
Transaction amount in the transaction asset
originator_vas_pdid: String
This is the identifier assigned to your VASP
originator_equals_beneficiary: bool
"True" if the originator and beneficiary is the same person and you therefore do not need to collect any information. "False" if it is a third-party transfer.
travel_rule_behavior: Option<bool>
This will also check if the transaction is a TRAVEL_RULE in the beneficiary VASP’s jurisdiction
beneficiary_vas_pdid: Option<String>
This is the identifier assigned to the VASP the funds are being sent to
beneficiary_vas_pname: Option<String>
Beneficiary VASP name
beneficiary_name: Option<String>
Beneficiary name
beneficiary_account_number: Option<String>
Beneficiary name
beneficiary_address: Option<TravelRuleAddress>
Beneficiary name
Implementations§
Trait Implementations§
Source§impl Clone for TravelRuleValidateTransactionRequest
impl Clone for TravelRuleValidateTransactionRequest
Source§fn clone(&self) -> TravelRuleValidateTransactionRequest
fn clone(&self) -> TravelRuleValidateTransactionRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for TravelRuleValidateTransactionRequest
impl Default for TravelRuleValidateTransactionRequest
Source§fn default() -> TravelRuleValidateTransactionRequest
fn default() -> TravelRuleValidateTransactionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TravelRuleValidateTransactionRequest
impl<'de> Deserialize<'de> for TravelRuleValidateTransactionRequest
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 PartialEq for TravelRuleValidateTransactionRequest
impl PartialEq for TravelRuleValidateTransactionRequest
Source§fn eq(&self, other: &TravelRuleValidateTransactionRequest) -> bool
fn eq(&self, other: &TravelRuleValidateTransactionRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TravelRuleValidateTransactionRequest
Auto Trait Implementations§
impl Freeze for TravelRuleValidateTransactionRequest
impl RefUnwindSafe for TravelRuleValidateTransactionRequest
impl Send for TravelRuleValidateTransactionRequest
impl Sync for TravelRuleValidateTransactionRequest
impl Unpin for TravelRuleValidateTransactionRequest
impl UnwindSafe for TravelRuleValidateTransactionRequest
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