pub struct LegacyError {
pub code: Option<String>,
pub error: Option<String>,
pub message: Option<String>,
}Expand description
LegacyError
JSON schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": true
}Fields§
§code: Option<String>§error: Option<String>§message: Option<String>Implementations§
Source§impl LegacyError
impl LegacyError
pub fn builder() -> LegacyError
Trait Implementations§
Source§impl Clone for LegacyError
impl Clone for LegacyError
Source§fn clone(&self) -> LegacyError
fn clone(&self) -> LegacyError
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 LegacyError
impl Debug for LegacyError
Source§impl Default for LegacyError
impl Default for LegacyError
Source§impl<'de> Deserialize<'de> for LegacyError
impl<'de> Deserialize<'de> for LegacyError
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<LegacyError> for CreateResponse
impl From<LegacyError> for CreateResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for GetResponse
impl From<LegacyError> for GetResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for ModelMeterResponse
impl From<LegacyError> for ModelMeterResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for PaymentVerifyResponse
impl From<LegacyError> for PaymentVerifyResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for SessionGetActiveResponse
impl From<LegacyError> for SessionGetActiveResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for SubmitResponse
impl From<LegacyError> for SubmitResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for SummaryGetResponse
impl From<LegacyError> for SummaryGetResponse
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl From<LegacyError> for LegacyError
impl From<LegacyError> for LegacyError
Source§fn from(value: LegacyError) -> Self
fn from(value: LegacyError) -> Self
Converts to this type from the input type.
Source§impl Serialize for LegacyError
impl Serialize for LegacyError
Source§impl TryFrom<LegacyError> for LegacyError
impl TryFrom<LegacyError> for LegacyError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LegacyError) -> Result<Self, ConversionError>
fn try_from(value: LegacyError) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LegacyError
impl RefUnwindSafe for LegacyError
impl Send for LegacyError
impl Sync for LegacyError
impl Unpin for LegacyError
impl UnsafeUnpin for LegacyError
impl UnwindSafe for LegacyError
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