pub struct PostGetMultipleCompressedAccountProofsBody {
pub id: PostGetMultipleCompressedAccountProofsBodyId,
pub jsonrpc: PostGetMultipleCompressedAccountProofsBodyJsonrpc,
pub method: PostGetMultipleCompressedAccountProofsBodyMethod,
pub params: Vec<Hash>,
}Expand description
PostGetMultipleCompressedAccountProofsBody
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": [
"getMultipleCompressedAccountProofs"
]
},
"params": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
}
}
}Fields§
§id: PostGetMultipleCompressedAccountProofsBodyIdAn ID to identify the request.
jsonrpc: PostGetMultipleCompressedAccountProofsBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetMultipleCompressedAccountProofsBodyMethodThe name of the method to invoke.
params: Vec<Hash>Implementations§
Trait Implementations§
Source§impl Clone for PostGetMultipleCompressedAccountProofsBody
impl Clone for PostGetMultipleCompressedAccountProofsBody
Source§fn clone(&self) -> PostGetMultipleCompressedAccountProofsBody
fn clone(&self) -> PostGetMultipleCompressedAccountProofsBody
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 PostGetMultipleCompressedAccountProofsBody
impl<'de> Deserialize<'de> for PostGetMultipleCompressedAccountProofsBody
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<PostGetMultipleCompressedAccountProofsBody> for PostGetMultipleCompressedAccountProofsBody
impl From<PostGetMultipleCompressedAccountProofsBody> for PostGetMultipleCompressedAccountProofsBody
Source§fn from(value: PostGetMultipleCompressedAccountProofsBody) -> Self
fn from(value: PostGetMultipleCompressedAccountProofsBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetMultipleCompressedAccountProofsBody> for PostGetMultipleCompressedAccountProofsBody
impl TryFrom<PostGetMultipleCompressedAccountProofsBody> for PostGetMultipleCompressedAccountProofsBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetMultipleCompressedAccountProofsBody,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetMultipleCompressedAccountProofsBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetMultipleCompressedAccountProofsBody
impl RefUnwindSafe for PostGetMultipleCompressedAccountProofsBody
impl Send for PostGetMultipleCompressedAccountProofsBody
impl Sync for PostGetMultipleCompressedAccountProofsBody
impl Unpin for PostGetMultipleCompressedAccountProofsBody
impl UnsafeUnpin for PostGetMultipleCompressedAccountProofsBody
impl UnwindSafe for PostGetMultipleCompressedAccountProofsBody
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