pub struct DepositTravelRuleResponse {
pub missing_fields: Vec<String>,
pub reason: Option<String>,
pub status: TravelRuleStatus,
}Expand description
Response from submitting travel rule information for a deposit transfer.
JSON schema
{
"description": "Response from submitting travel rule information for a deposit transfer.",
"examples": [
{
"missingFields": [
"originator.address.countryCode"
],
"status": "incomplete"
}
],
"type": "object",
"required": [
"status"
],
"properties": {
"missingFields": {
"description": "List of field paths that are still required to complete travel rule compliance. Each entry is a dot-separated path (e.g., \"originator.name\", \"originator.address.countryCode\"). Empty when status is \"completed\".",
"examples": [
[
"originator.address.countryCode"
]
],
"type": "array",
"items": {
"examples": [
"originator.name"
],
"type": "string"
}
},
"reason": {
"description": "Additional context about the current status. Present when status is `incomplete` to explain what needs to be fixed before the transfer can proceed.",
"examples": [
"Originator date of birth is required."
],
"type": "string"
},
"status": {
"$ref": "#/components/schemas/TravelRuleStatus"
}
}
}Fields§
§missing_fields: Vec<String>List of field paths that are still required to complete travel rule compliance. Each entry is a dot-separated path (e.g., “originator.name”, “originator.address.countryCode”). Empty when status is “completed”.
reason: Option<String>Additional context about the current status. Present when status is incomplete to explain what needs to be fixed before the transfer can proceed.
status: TravelRuleStatusImplementations§
Source§impl DepositTravelRuleResponse
impl DepositTravelRuleResponse
pub fn builder() -> DepositTravelRuleResponse
Trait Implementations§
Source§impl Clone for DepositTravelRuleResponse
impl Clone for DepositTravelRuleResponse
Source§fn clone(&self) -> DepositTravelRuleResponse
fn clone(&self) -> DepositTravelRuleResponse
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 DepositTravelRuleResponse
impl Debug for DepositTravelRuleResponse
Source§impl<'de> Deserialize<'de> for DepositTravelRuleResponse
impl<'de> Deserialize<'de> for DepositTravelRuleResponse
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<&DepositTravelRuleResponse> for DepositTravelRuleResponse
impl From<&DepositTravelRuleResponse> for DepositTravelRuleResponse
Source§fn from(value: &DepositTravelRuleResponse) -> Self
fn from(value: &DepositTravelRuleResponse) -> Self
Converts to this type from the input type.
Source§impl From<DepositTravelRuleResponse> for DepositTravelRuleResponse
impl From<DepositTravelRuleResponse> for DepositTravelRuleResponse
Source§fn from(value: DepositTravelRuleResponse) -> Self
fn from(value: DepositTravelRuleResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DepositTravelRuleResponse> for DepositTravelRuleResponse
impl TryFrom<DepositTravelRuleResponse> for DepositTravelRuleResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DepositTravelRuleResponse) -> Result<Self, ConversionError>
fn try_from(value: DepositTravelRuleResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DepositTravelRuleResponse
impl RefUnwindSafe for DepositTravelRuleResponse
impl Send for DepositTravelRuleResponse
impl Sync for DepositTravelRuleResponse
impl Unpin for DepositTravelRuleResponse
impl UnsafeUnpin for DepositTravelRuleResponse
impl UnwindSafe for DepositTravelRuleResponse
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