pub struct PostGetIndexerHealthResponse {
pub error: Option<PostGetIndexerHealthResponseError>,
pub id: PostGetIndexerHealthResponseId,
pub jsonrpc: PostGetIndexerHealthResponseJsonrpc,
pub result: PostGetIndexerHealthResponseResult,
}Expand description
PostGetIndexerHealthResponse
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": {
"description": "ok if healthy",
"default": "ok",
"type": "string",
"enum": [
"ok"
]
}
}
}Fields§
§error: Option<PostGetIndexerHealthResponseError>§id: PostGetIndexerHealthResponseIdAn ID to identify the response.
jsonrpc: PostGetIndexerHealthResponseJsonrpcThe version of the JSON-RPC protocol.
result: PostGetIndexerHealthResponseResultok if healthy
Implementations§
Trait Implementations§
Source§impl Clone for PostGetIndexerHealthResponse
impl Clone for PostGetIndexerHealthResponse
Source§fn clone(&self) -> PostGetIndexerHealthResponse
fn clone(&self) -> PostGetIndexerHealthResponse
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 PostGetIndexerHealthResponse
impl Debug for PostGetIndexerHealthResponse
Source§impl<'de> Deserialize<'de> for PostGetIndexerHealthResponse
impl<'de> Deserialize<'de> for PostGetIndexerHealthResponse
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<PostGetIndexerHealthResponse> for PostGetIndexerHealthResponse
impl From<PostGetIndexerHealthResponse> for PostGetIndexerHealthResponse
Source§fn from(value: PostGetIndexerHealthResponse) -> Self
fn from(value: PostGetIndexerHealthResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetIndexerHealthResponse> for PostGetIndexerHealthResponse
impl TryFrom<PostGetIndexerHealthResponse> for PostGetIndexerHealthResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetIndexerHealthResponse,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetIndexerHealthResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetIndexerHealthResponse
impl RefUnwindSafe for PostGetIndexerHealthResponse
impl Send for PostGetIndexerHealthResponse
impl Sync for PostGetIndexerHealthResponse
impl Unpin for PostGetIndexerHealthResponse
impl UnsafeUnpin for PostGetIndexerHealthResponse
impl UnwindSafe for PostGetIndexerHealthResponse
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