pub struct PostGetIndexerSlotResponseError {
pub code: Option<i64>,
pub message: Option<String>,
}Expand description
PostGetIndexerSlotResponseError
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 PostGetIndexerSlotResponseError
impl Clone for PostGetIndexerSlotResponseError
Source§fn clone(&self) -> PostGetIndexerSlotResponseError
fn clone(&self) -> PostGetIndexerSlotResponseError
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 PostGetIndexerSlotResponseError
impl<'de> Deserialize<'de> for PostGetIndexerSlotResponseError
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<PostGetIndexerSlotResponseError> for PostGetIndexerSlotResponseError
impl From<PostGetIndexerSlotResponseError> for PostGetIndexerSlotResponseError
Source§fn from(value: PostGetIndexerSlotResponseError) -> Self
fn from(value: PostGetIndexerSlotResponseError) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetIndexerSlotResponseError> for PostGetIndexerSlotResponseError
impl TryFrom<PostGetIndexerSlotResponseError> for PostGetIndexerSlotResponseError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetIndexerSlotResponseError,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetIndexerSlotResponseError, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetIndexerSlotResponseError
impl RefUnwindSafe for PostGetIndexerSlotResponseError
impl Send for PostGetIndexerSlotResponseError
impl Sync for PostGetIndexerSlotResponseError
impl Unpin for PostGetIndexerSlotResponseError
impl UnsafeUnpin for PostGetIndexerSlotResponseError
impl UnwindSafe for PostGetIndexerSlotResponseError
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