pub struct TravelRuleCreateTransactionRequest {Show 20 fields
pub originator_vas_pdid: Option<String>,
pub beneficiary_vas_pdid: Option<String>,
pub originator_vas_pname: Option<String>,
pub beneficiary_vas_pname: Option<String>,
pub beneficiary_vas_pwebsite: 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_ref: Option<String>,
pub beneficiary_ref: Option<String>,
pub travel_rule_behavior_ref: Option<String>,
pub originator_proof: Option<TravelRuleOwnershipProof>,
pub beneficiary_proof: Option<TravelRuleOwnershipProof>,
pub beneficiary_did: Option<String>,
pub originator_did: Option<String>,
pub is_non_custodial: Option<bool>,
}
Fields§
§originator_vas_pdid: Option<String>
The Decentralized Identifier (DID) of the exchange (VASP) that is sending the virtual assets. This identifier is unique to the exchange and is generated when the exchange’s account is created in the Notabene network.
beneficiary_vas_pdid: Option<String>
The Decentralized Identifier (DID) of the exchange (VASP) that is receiving the virtual assets. This identifier is unique to the exchange and is generated when the exchange’s account is created in the Notabene network.
originator_vas_pname: Option<String>
The name of the VASP acting as the transaction originator.
beneficiary_vas_pname: Option<String>
The name of the VASP acting as the transaction beneficiary.
beneficiary_vas_pwebsite: Option<String>
The website of the VASP acting as the transaction 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 complies with the travel rule in the beneficiary VASP’s jurisdiction.
originator_ref: Option<String>
A reference ID related to the originator of the transaction.
beneficiary_ref: Option<String>
A reference ID related to the beneficiary of the transaction.
travel_rule_behavior_ref: Option<String>
A reference ID related to the travel rule behavior.
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.
beneficiary_did: Option<String>
The Decentralized Identifier (DID) of the person at the receiving
exchange (VASP). This identifier is generated when the customer is
registered in the Notabene network, or automatically created based on
the beneficiaryRef
. - If neither beneficiaryRef
nor
beneficiaryDid
is provided in the txCreate
payload, a new random
DID is generated for every transaction.
originator_did: Option<String>
The Decentralized Identifier (DID) of the person at the exchange (VASP)
who is requesting the withdrawal. This identifier is generated when the
customer is registered in the Notabene network or automatically created
based on the originatorRef
. - If neither originatorRef
nor
originatorDid
is provided in the txCreate
payload, a new random
DID is generated for every transaction.
is_non_custodial: Option<bool>
Indicates if the transaction involves a non-custodial wallet.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for TravelRuleCreateTransactionRequest
impl Default for TravelRuleCreateTransactionRequest
Source§fn default() -> TravelRuleCreateTransactionRequest
fn default() -> TravelRuleCreateTransactionRequest
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>,
Source§impl PartialEq for TravelRuleCreateTransactionRequest
impl PartialEq for TravelRuleCreateTransactionRequest
Source§fn eq(&self, other: &TravelRuleCreateTransactionRequest) -> bool
fn eq(&self, other: &TravelRuleCreateTransactionRequest) -> bool
self
and other
values to be equal, and is used by ==
.