pub struct PostGetValidityProofV2ResponseError {
pub code: Option<i64>,
pub message: Option<String>,
}Expand description
PostGetValidityProofV2ResponseError
JSON schema
{
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
}
}
}Fields§
§code: Option<i64>§message: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PostGetValidityProofV2ResponseError
impl Clone for PostGetValidityProofV2ResponseError
Source§fn clone(&self) -> PostGetValidityProofV2ResponseError
fn clone(&self) -> PostGetValidityProofV2ResponseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PostGetValidityProofV2ResponseError
impl<'de> Deserialize<'de> for PostGetValidityProofV2ResponseError
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<PostGetValidityProofV2ResponseError> for PostGetValidityProofV2ResponseError
impl From<PostGetValidityProofV2ResponseError> for PostGetValidityProofV2ResponseError
Source§fn from(value: PostGetValidityProofV2ResponseError) -> Self
fn from(value: PostGetValidityProofV2ResponseError) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetValidityProofV2ResponseError> for PostGetValidityProofV2ResponseError
impl TryFrom<PostGetValidityProofV2ResponseError> for PostGetValidityProofV2ResponseError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetValidityProofV2ResponseError,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetValidityProofV2ResponseError, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetValidityProofV2ResponseError
impl RefUnwindSafe for PostGetValidityProofV2ResponseError
impl Send for PostGetValidityProofV2ResponseError
impl Sync for PostGetValidityProofV2ResponseError
impl Unpin for PostGetValidityProofV2ResponseError
impl UnsafeUnpin for PostGetValidityProofV2ResponseError
impl UnwindSafe for PostGetValidityProofV2ResponseError
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