pub struct PostGetMultipleAccountInterfacesResponse {
pub error: Option<PostGetMultipleAccountInterfacesResponseError>,
pub id: PostGetMultipleAccountInterfacesResponseId,
pub jsonrpc: PostGetMultipleAccountInterfacesResponseJsonrpc,
pub result: Option<PostGetMultipleAccountInterfacesResponseResult>,
}Expand description
PostGetMultipleAccountInterfacesResponse
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": "Response for getMultipleAccountInterfaces",
"type": "object",
"required": [
"context",
"value"
],
"properties": {
"context": {
"$ref": "#/components/schemas/Context"
},
"value": {
"description": "List of account results (Some for found accounts, None for not found)",
"type": "array",
"items": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/AccountInterface"
}
]
}
]
}
}
}
}
}
}Fields§
§error: Option<PostGetMultipleAccountInterfacesResponseError>§id: PostGetMultipleAccountInterfacesResponseIdAn ID to identify the response.
jsonrpc: PostGetMultipleAccountInterfacesResponseJsonrpcThe version of the JSON-RPC protocol.
result: Option<PostGetMultipleAccountInterfacesResponseResult>Implementations§
Trait Implementations§
Source§impl Clone for PostGetMultipleAccountInterfacesResponse
impl Clone for PostGetMultipleAccountInterfacesResponse
Source§fn clone(&self) -> PostGetMultipleAccountInterfacesResponse
fn clone(&self) -> PostGetMultipleAccountInterfacesResponse
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 PostGetMultipleAccountInterfacesResponse
impl<'de> Deserialize<'de> for PostGetMultipleAccountInterfacesResponse
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<PostGetMultipleAccountInterfacesResponse> for PostGetMultipleAccountInterfacesResponse
impl From<PostGetMultipleAccountInterfacesResponse> for PostGetMultipleAccountInterfacesResponse
Source§fn from(value: PostGetMultipleAccountInterfacesResponse) -> Self
fn from(value: PostGetMultipleAccountInterfacesResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetMultipleAccountInterfacesResponse> for PostGetMultipleAccountInterfacesResponse
impl TryFrom<PostGetMultipleAccountInterfacesResponse> for PostGetMultipleAccountInterfacesResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetMultipleAccountInterfacesResponse,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetMultipleAccountInterfacesResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetMultipleAccountInterfacesResponse
impl RefUnwindSafe for PostGetMultipleAccountInterfacesResponse
impl Send for PostGetMultipleAccountInterfacesResponse
impl Sync for PostGetMultipleAccountInterfacesResponse
impl Unpin for PostGetMultipleAccountInterfacesResponse
impl UnsafeUnpin for PostGetMultipleAccountInterfacesResponse
impl UnwindSafe for PostGetMultipleAccountInterfacesResponse
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