pub struct PostGetIndexerHealthBody {
pub id: PostGetIndexerHealthBodyId,
pub jsonrpc: PostGetIndexerHealthBodyJsonrpc,
pub method: PostGetIndexerHealthBodyMethod,
}Expand description
PostGetIndexerHealthBody
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": [
"getIndexerHealth"
]
}
}
}Fields§
§id: PostGetIndexerHealthBodyIdAn ID to identify the request.
jsonrpc: PostGetIndexerHealthBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetIndexerHealthBodyMethodThe name of the method to invoke.
Implementations§
Source§impl PostGetIndexerHealthBody
impl PostGetIndexerHealthBody
pub fn builder() -> PostGetIndexerHealthBody
Trait Implementations§
Source§impl Clone for PostGetIndexerHealthBody
impl Clone for PostGetIndexerHealthBody
Source§fn clone(&self) -> PostGetIndexerHealthBody
fn clone(&self) -> PostGetIndexerHealthBody
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 PostGetIndexerHealthBody
impl Debug for PostGetIndexerHealthBody
Source§impl<'de> Deserialize<'de> for PostGetIndexerHealthBody
impl<'de> Deserialize<'de> for PostGetIndexerHealthBody
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<PostGetIndexerHealthBody> for PostGetIndexerHealthBody
impl From<PostGetIndexerHealthBody> for PostGetIndexerHealthBody
Source§fn from(value: PostGetIndexerHealthBody) -> Self
fn from(value: PostGetIndexerHealthBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for PostGetIndexerHealthBody
impl Serialize for PostGetIndexerHealthBody
Source§impl TryFrom<PostGetIndexerHealthBody> for PostGetIndexerHealthBody
impl TryFrom<PostGetIndexerHealthBody> for PostGetIndexerHealthBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetIndexerHealthBody) -> Result<Self, ConversionError>
fn try_from(value: PostGetIndexerHealthBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetIndexerHealthBody
impl RefUnwindSafe for PostGetIndexerHealthBody
impl Send for PostGetIndexerHealthBody
impl Sync for PostGetIndexerHealthBody
impl Unpin for PostGetIndexerHealthBody
impl UnsafeUnpin for PostGetIndexerHealthBody
impl UnwindSafe for PostGetIndexerHealthBody
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