pub struct PostGetMultipleAccountInterfacesBody {
pub id: PostGetMultipleAccountInterfacesBodyId,
pub jsonrpc: PostGetMultipleAccountInterfacesBodyJsonrpc,
pub method: PostGetMultipleAccountInterfacesBodyMethod,
pub params: PostGetMultipleAccountInterfacesBodyParams,
}Expand description
PostGetMultipleAccountInterfacesBody
JSON schema
{
"type": "object",
"required": [
"id",
"jsonrpc",
"method",
"params"
],
"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": [
"getMultipleAccountInterfaces"
]
},
"params": {
"description": "Request for getMultipleAccountInterfaces",
"type": "object",
"required": [
"addresses"
],
"properties": {
"addresses": {
"description": "List of account addresses to look up (max 100)",
"type": "array",
"items": {
"$ref": "#/components/schemas/SerializablePubkey"
}
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetMultipleAccountInterfacesBodyIdAn ID to identify the request.
jsonrpc: PostGetMultipleAccountInterfacesBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetMultipleAccountInterfacesBodyMethodThe name of the method to invoke.
params: PostGetMultipleAccountInterfacesBodyParamsImplementations§
Trait Implementations§
Source§impl Clone for PostGetMultipleAccountInterfacesBody
impl Clone for PostGetMultipleAccountInterfacesBody
Source§fn clone(&self) -> PostGetMultipleAccountInterfacesBody
fn clone(&self) -> PostGetMultipleAccountInterfacesBody
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 PostGetMultipleAccountInterfacesBody
impl<'de> Deserialize<'de> for PostGetMultipleAccountInterfacesBody
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<PostGetMultipleAccountInterfacesBody> for PostGetMultipleAccountInterfacesBody
impl From<PostGetMultipleAccountInterfacesBody> for PostGetMultipleAccountInterfacesBody
Source§fn from(value: PostGetMultipleAccountInterfacesBody) -> Self
fn from(value: PostGetMultipleAccountInterfacesBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetMultipleAccountInterfacesBody> for PostGetMultipleAccountInterfacesBody
impl TryFrom<PostGetMultipleAccountInterfacesBody> for PostGetMultipleAccountInterfacesBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetMultipleAccountInterfacesBody,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetMultipleAccountInterfacesBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetMultipleAccountInterfacesBody
impl RefUnwindSafe for PostGetMultipleAccountInterfacesBody
impl Send for PostGetMultipleAccountInterfacesBody
impl Sync for PostGetMultipleAccountInterfacesBody
impl Unpin for PostGetMultipleAccountInterfacesBody
impl UnsafeUnpin for PostGetMultipleAccountInterfacesBody
impl UnwindSafe for PostGetMultipleAccountInterfacesBody
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