pub struct PostGetAccountInterfaceBody {
pub id: PostGetAccountInterfaceBodyId,
pub jsonrpc: PostGetAccountInterfaceBodyJsonrpc,
pub method: PostGetAccountInterfaceBodyMethod,
pub params: PostGetAccountInterfaceBodyParams,
}Expand description
PostGetAccountInterfaceBody
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": [
"getAccountInterface"
]
},
"params": {
"description": "Request for getAccountInterface",
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"$ref": "#/components/schemas/SerializablePubkey"
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetAccountInterfaceBodyIdAn ID to identify the request.
jsonrpc: PostGetAccountInterfaceBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetAccountInterfaceBodyMethodThe name of the method to invoke.
params: PostGetAccountInterfaceBodyParamsImplementations§
Trait Implementations§
Source§impl Clone for PostGetAccountInterfaceBody
impl Clone for PostGetAccountInterfaceBody
Source§fn clone(&self) -> PostGetAccountInterfaceBody
fn clone(&self) -> PostGetAccountInterfaceBody
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 PostGetAccountInterfaceBody
impl Debug for PostGetAccountInterfaceBody
Source§impl<'de> Deserialize<'de> for PostGetAccountInterfaceBody
impl<'de> Deserialize<'de> for PostGetAccountInterfaceBody
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<PostGetAccountInterfaceBody> for PostGetAccountInterfaceBody
impl From<PostGetAccountInterfaceBody> for PostGetAccountInterfaceBody
Source§fn from(value: PostGetAccountInterfaceBody) -> Self
fn from(value: PostGetAccountInterfaceBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetAccountInterfaceBody> for PostGetAccountInterfaceBody
impl TryFrom<PostGetAccountInterfaceBody> for PostGetAccountInterfaceBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostGetAccountInterfaceBody) -> Result<Self, ConversionError>
fn try_from(value: PostGetAccountInterfaceBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetAccountInterfaceBody
impl RefUnwindSafe for PostGetAccountInterfaceBody
impl Send for PostGetAccountInterfaceBody
impl Sync for PostGetAccountInterfaceBody
impl Unpin for PostGetAccountInterfaceBody
impl UnsafeUnpin for PostGetAccountInterfaceBody
impl UnwindSafe for PostGetAccountInterfaceBody
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