pub struct TransferDetails {
pub deposit_destination: Option<DepositDestinationReference>,
pub onchain_transactions: Vec<TransferDetailsOnchainTransactionsItem>,
pub travel_rule: Option<TransferDetailsTravelRule>,
}Expand description
Additional details about the transfer. For example, if the transfer was sent to a deposit destination, the information about that destination will be included in this field.
JSON schema
{
"description": "Additional details about the transfer. For example, if the transfer was sent to a deposit destination, the information about that destination will be included in this field.",
"examples": [
{
"depositDestination": {
"id": "depositDestination_af2937b0-9846-4fe7-bfe9-ccc22d935114"
},
"onchainTransactions": [
{
"network": "base",
"transactionHash": "0x363cd3b3d4f49497cf5076150cd709307b90e9fc897fdd623546ea7b9313cecb"
}
]
}
],
"type": "object",
"properties": {
"depositDestination": {
"$ref": "#/components/schemas/DepositDestinationReference"
},
"onchainTransactions": {
"description": "The onchain transactions associated with the transfer.",
"examples": [
[
{
"network": "base",
"transactionHash": "0x363cd3b3d4f49497cf5076150cd709307b90e9fc897fdd623546ea7b9313cecb"
}
]
],
"type": "array",
"items": {
"description": "An onchain transaction associated with the transfer.",
"type": "object",
"required": [
"network",
"transactionHash"
],
"properties": {
"network": {
"$ref": "#/components/schemas/Network"
},
"transactionHash": {
"description": "The transaction hash.",
"examples": [
"0x363cd3b3d4f49497cf5076150cd709307b90e9fc897fdd623546ea7b9313cecb"
],
"type": "string"
}
}
}
},
"travelRule": {
"description": "Travel rule compliance status for deposit transfers. Present when the transfer requires travel rule information.",
"examples": [
{
"status": "incomplete",
"statusMessage": "Originator date of birth is required."
}
],
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/TravelRuleStatus"
},
"statusMessage": {
"description": "Additional details about the current travel rule status. For example, when status is `incomplete`, this may indicate the specific missing information required to proceed.",
"examples": [
"Originator date of birth is required."
],
"type": "string"
}
}
}
}
}Fields§
§deposit_destination: Option<DepositDestinationReference>§onchain_transactions: Vec<TransferDetailsOnchainTransactionsItem>The onchain transactions associated with the transfer.
travel_rule: Option<TransferDetailsTravelRule>Implementations§
Source§impl TransferDetails
impl TransferDetails
pub fn builder() -> TransferDetails
Trait Implementations§
Source§impl Clone for TransferDetails
impl Clone for TransferDetails
Source§fn clone(&self) -> TransferDetails
fn clone(&self) -> TransferDetails
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 TransferDetails
impl Debug for TransferDetails
Source§impl Default for TransferDetails
impl Default for TransferDetails
Source§impl<'de> Deserialize<'de> for TransferDetails
impl<'de> Deserialize<'de> for TransferDetails
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<&TransferDetails> for TransferDetails
impl From<&TransferDetails> for TransferDetails
Source§fn from(value: &TransferDetails) -> Self
fn from(value: &TransferDetails) -> Self
Converts to this type from the input type.
Source§impl From<TransferDetails> for TransferDetails
impl From<TransferDetails> for TransferDetails
Source§fn from(value: TransferDetails) -> Self
fn from(value: TransferDetails) -> Self
Converts to this type from the input type.
Source§impl Serialize for TransferDetails
impl Serialize for TransferDetails
Source§impl TryFrom<TransferDetails> for TransferDetails
impl TryFrom<TransferDetails> for TransferDetails
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TransferDetails) -> Result<Self, ConversionError>
fn try_from(value: TransferDetails) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TransferDetails
impl RefUnwindSafe for TransferDetails
impl Send for TransferDetails
impl Sync for TransferDetails
impl Unpin for TransferDetails
impl UnsafeUnpin for TransferDetails
impl UnwindSafe for TransferDetails
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