pub struct PostGetIndexerSlotBody {
pub id: PostGetIndexerSlotBodyId,
pub jsonrpc: PostGetIndexerSlotBodyJsonrpc,
pub method: PostGetIndexerSlotBodyMethod,
}Expand description
PostGetIndexerSlotBody
JSON schema
{
"type": "object",
"required": [
"id",
"jsonrpc",
"method"
],
"properties": {
"id": {
"description": "An ID to identify the request.",
"type": "string",
"enum": [
"test-account"
]
},
"jsonrpc": {
"description": "The version of the JSON-RPC protocol.",
"type": "string",
"enum": [
"2.0"
]
},
"method": {
"description": "The name of the method to invoke.",
"type": "string",
"enum": [
"getIndexerSlot"
]
}
}
}Fields§
§id: PostGetIndexerSlotBodyIdAn ID to identify the request.
jsonrpc: PostGetIndexerSlotBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetIndexerSlotBodyMethodThe name of the method to invoke.
Implementations§
Source§impl PostGetIndexerSlotBody
impl PostGetIndexerSlotBody
pub fn builder() -> PostGetIndexerSlotBody
Trait Implementations§
Source§impl Clone for PostGetIndexerSlotBody
impl Clone for PostGetIndexerSlotBody
Source§fn clone(&self) -> PostGetIndexerSlotBody
fn clone(&self) -> PostGetIndexerSlotBody
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 PostGetIndexerSlotBody
impl Debug for PostGetIndexerSlotBody
Source§impl<'de> Deserialize<'de> for PostGetIndexerSlotBody
impl<'de> Deserialize<'de> for PostGetIndexerSlotBody
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<PostGetIndexerSlotBody> for PostGetIndexerSlotBody
impl From<PostGetIndexerSlotBody> for PostGetIndexerSlotBody
Source§fn from(value: PostGetIndexerSlotBody) -> Self
fn from(value: PostGetIndexerSlotBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for PostGetIndexerSlotBody
impl Serialize for PostGetIndexerSlotBody
Source§impl TryFrom<PostGetIndexerSlotBody> for PostGetIndexerSlotBody
impl TryFrom<PostGetIndexerSlotBody> for PostGetIndexerSlotBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetIndexerSlotBody) -> Result<Self, ConversionError>
fn try_from(value: PostGetIndexerSlotBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetIndexerSlotBody
impl RefUnwindSafe for PostGetIndexerSlotBody
impl Send for PostGetIndexerSlotBody
impl Sync for PostGetIndexerSlotBody
impl Unpin for PostGetIndexerSlotBody
impl UnsafeUnpin for PostGetIndexerSlotBody
impl UnwindSafe for PostGetIndexerSlotBody
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