pub struct PostGetIndexerSlotResponse {
pub error: Option<PostGetIndexerSlotResponseError>,
pub id: PostGetIndexerSlotResponseId,
pub jsonrpc: PostGetIndexerSlotResponseJsonrpc,
pub result: u64,
}Expand description
PostGetIndexerSlotResponse
JSON schema
{
"type": "object",
"required": [
"id",
"jsonrpc"
],
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
}
}
},
"id": {
"description": "An ID to identify the response.",
"type": "string",
"enum": [
"test-account"
]
},
"jsonrpc": {
"description": "The version of the JSON-RPC protocol.",
"type": "string",
"enum": [
"2.0"
]
},
"result": {
"default": 100,
"examples": [
100
],
"type": "integer",
"format": "uint64"
}
}
}Fields§
§error: Option<PostGetIndexerSlotResponseError>§id: PostGetIndexerSlotResponseIdAn ID to identify the response.
jsonrpc: PostGetIndexerSlotResponseJsonrpcThe version of the JSON-RPC protocol.
result: u64Implementations§
Source§impl PostGetIndexerSlotResponse
impl PostGetIndexerSlotResponse
pub fn builder() -> PostGetIndexerSlotResponse
Trait Implementations§
Source§impl Clone for PostGetIndexerSlotResponse
impl Clone for PostGetIndexerSlotResponse
Source§fn clone(&self) -> PostGetIndexerSlotResponse
fn clone(&self) -> PostGetIndexerSlotResponse
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 Debug for PostGetIndexerSlotResponse
impl Debug for PostGetIndexerSlotResponse
Source§impl<'de> Deserialize<'de> for PostGetIndexerSlotResponse
impl<'de> Deserialize<'de> for PostGetIndexerSlotResponse
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<PostGetIndexerSlotResponse> for PostGetIndexerSlotResponse
impl From<PostGetIndexerSlotResponse> for PostGetIndexerSlotResponse
Source§fn from(value: PostGetIndexerSlotResponse) -> Self
fn from(value: PostGetIndexerSlotResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetIndexerSlotResponse> for PostGetIndexerSlotResponse
impl TryFrom<PostGetIndexerSlotResponse> for PostGetIndexerSlotResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetIndexerSlotResponse) -> Result<Self, ConversionError>
fn try_from(value: PostGetIndexerSlotResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetIndexerSlotResponse
impl RefUnwindSafe for PostGetIndexerSlotResponse
impl Send for PostGetIndexerSlotResponse
impl Sync for PostGetIndexerSlotResponse
impl Unpin for PostGetIndexerSlotResponse
impl UnsafeUnpin for PostGetIndexerSlotResponse
impl UnwindSafe for PostGetIndexerSlotResponse
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