pub struct TravelRuleCreateTransactionRequest {Show 13 fields
pub originator_vas_pdid: Option<String>,
pub beneficiary_vas_pdid: Option<String>,
pub beneficiary_vas_pname: Option<String>,
pub transaction_blockchain_info: Option<TravelRuleTransactionBlockchainInfo>,
pub originator: TravelRulePiiIvms,
pub beneficiary: TravelRulePiiIvms,
pub encrypted: Option<String>,
pub protocol: Option<String>,
pub skip_beneficiary_data_validation: Option<bool>,
pub travel_rule_behavior: Option<bool>,
pub originator_proof: Option<TravelRuleOwnershipProof>,
pub beneficiary_proof: Option<TravelRuleOwnershipProof>,
pub pii: Option<TravelRulePiiIvms>,
}
Fields§
§originator_vas_pdid: Option<String>
The VASP ID of the transaction originator
beneficiary_vas_pdid: Option<String>
The VASP ID of the transaction beneficiary
beneficiary_vas_pname: Option<String>
The name of the VASP acting as the beneficiary
transaction_blockchain_info: Option<TravelRuleTransactionBlockchainInfo>
Information about the blockchain transaction
originator: TravelRulePiiIvms
Information about the originator of the transaction
beneficiary: TravelRulePiiIvms
Information about the beneficiary of the transaction
encrypted: Option<String>
Encrypted data related to the transaction
protocol: Option<String>
The protocol used to perform the travel rule
skip_beneficiary_data_validation: Option<bool>
Whether to skip validation of beneficiary data
travel_rule_behavior: Option<bool>
Whether to check if the transaction is a TRAVEL_RULE in the beneficiary VASP’s jurisdiction
originator_proof: Option<TravelRuleOwnershipProof>
Ownership proof related to the originator of the transaction
beneficiary_proof: Option<TravelRuleOwnershipProof>
Ownership proof related to the beneficiary of the transaction
pii: Option<TravelRulePiiIvms>
Personal identifiable information related to the transaction
Implementations§
Source§impl TravelRuleCreateTransactionRequest
impl TravelRuleCreateTransactionRequest
pub fn new( originator: TravelRulePiiIvms, beneficiary: TravelRulePiiIvms, ) -> TravelRuleCreateTransactionRequest
Trait Implementations§
Source§impl Clone for TravelRuleCreateTransactionRequest
impl Clone for TravelRuleCreateTransactionRequest
Source§fn clone(&self) -> TravelRuleCreateTransactionRequest
fn clone(&self) -> TravelRuleCreateTransactionRequest
Returns a copy 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 TravelRuleCreateTransactionRequest
impl Default for TravelRuleCreateTransactionRequest
Source§fn default() -> TravelRuleCreateTransactionRequest
fn default() -> TravelRuleCreateTransactionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TravelRuleCreateTransactionRequest
impl<'de> Deserialize<'de> for TravelRuleCreateTransactionRequest
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 TravelRuleCreateTransactionRequest
impl PartialEq for TravelRuleCreateTransactionRequest
Source§fn eq(&self, other: &TravelRuleCreateTransactionRequest) -> bool
fn eq(&self, other: &TravelRuleCreateTransactionRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TravelRuleCreateTransactionRequest
Auto Trait Implementations§
impl Freeze for TravelRuleCreateTransactionRequest
impl RefUnwindSafe for TravelRuleCreateTransactionRequest
impl Send for TravelRuleCreateTransactionRequest
impl Sync for TravelRuleCreateTransactionRequest
impl Unpin for TravelRuleCreateTransactionRequest
impl UnwindSafe for TravelRuleCreateTransactionRequest
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