pub struct FailureReason {
pub details: Option<Value>,
pub message: String,
}Expand description
A description of why a wallet action (or a step within a wallet action) failed.
JSON schema
{
"title": "FailureReason",
"description": "A description of why a wallet action (or a step within
a wallet action) failed.",
"type": "object",
"required": [
"message"
],
"properties": {
"details": {
"description": "Additional error details, if available.",
"x-stainless-any": true
},
"message": {
"description": "Human-readable failure message.",
"type": "string"
}
},
"x-stainless-model": "wallet_actions.failure_reason"
}Fields§
§details: Option<Value>Additional error details, if available.
message: StringHuman-readable failure message.
Trait Implementations§
Source§impl Clone for FailureReason
impl Clone for FailureReason
Source§fn clone(&self) -> FailureReason
fn clone(&self) -> FailureReason
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 FailureReason
impl Debug for FailureReason
Source§impl<'de> Deserialize<'de> for FailureReason
impl<'de> Deserialize<'de> for FailureReason
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FailureReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FailureReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&FailureReason> for FailureReason
impl From<&FailureReason> for FailureReason
Source§fn from(value: &FailureReason) -> FailureReason
fn from(value: &FailureReason) -> FailureReason
Converts to this type from the input type.
Source§impl Serialize for FailureReason
impl Serialize for FailureReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for FailureReason
impl RefUnwindSafe for FailureReason
impl Send for FailureReason
impl Sync for FailureReason
impl Unpin for FailureReason
impl UnsafeUnpin for FailureReason
impl UnwindSafe for FailureReason
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