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