pub struct PostGetCompressedTokenAccountsByOwnerV2Body {
pub id: PostGetCompressedTokenAccountsByOwnerV2BodyId,
pub jsonrpc: PostGetCompressedTokenAccountsByOwnerV2BodyJsonrpc,
pub method: PostGetCompressedTokenAccountsByOwnerV2BodyMethod,
pub params: PostGetCompressedTokenAccountsByOwnerV2BodyParams,
}Expand description
PostGetCompressedTokenAccountsByOwnerV2Body
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": [
"getCompressedTokenAccountsByOwnerV2"
]
},
"params": {
"type": "object",
"required": [
"owner"
],
"properties": {
"cursor": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Base58String"
}
]
}
]
},
"limit": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Limit"
}
]
}
]
},
"mint": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/SerializablePubkey"
}
]
}
]
},
"owner": {
"$ref": "#/components/schemas/SerializablePubkey"
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetCompressedTokenAccountsByOwnerV2BodyIdAn ID to identify the request.
jsonrpc: PostGetCompressedTokenAccountsByOwnerV2BodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetCompressedTokenAccountsByOwnerV2BodyMethodThe name of the method to invoke.
params: PostGetCompressedTokenAccountsByOwnerV2BodyParamsImplementations§
Trait Implementations§
Source§impl Clone for PostGetCompressedTokenAccountsByOwnerV2Body
impl Clone for PostGetCompressedTokenAccountsByOwnerV2Body
Source§fn clone(&self) -> PostGetCompressedTokenAccountsByOwnerV2Body
fn clone(&self) -> PostGetCompressedTokenAccountsByOwnerV2Body
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 PostGetCompressedTokenAccountsByOwnerV2Body
impl<'de> Deserialize<'de> for PostGetCompressedTokenAccountsByOwnerV2Body
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<PostGetCompressedTokenAccountsByOwnerV2Body> for PostGetCompressedTokenAccountsByOwnerV2Body
impl From<PostGetCompressedTokenAccountsByOwnerV2Body> for PostGetCompressedTokenAccountsByOwnerV2Body
Source§fn from(value: PostGetCompressedTokenAccountsByOwnerV2Body) -> Self
fn from(value: PostGetCompressedTokenAccountsByOwnerV2Body) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetCompressedTokenAccountsByOwnerV2Body> for PostGetCompressedTokenAccountsByOwnerV2Body
impl TryFrom<PostGetCompressedTokenAccountsByOwnerV2Body> for PostGetCompressedTokenAccountsByOwnerV2Body
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetCompressedTokenAccountsByOwnerV2Body,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetCompressedTokenAccountsByOwnerV2Body, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetCompressedTokenAccountsByOwnerV2Body
impl RefUnwindSafe for PostGetCompressedTokenAccountsByOwnerV2Body
impl Send for PostGetCompressedTokenAccountsByOwnerV2Body
impl Sync for PostGetCompressedTokenAccountsByOwnerV2Body
impl Unpin for PostGetCompressedTokenAccountsByOwnerV2Body
impl UnsafeUnpin for PostGetCompressedTokenAccountsByOwnerV2Body
impl UnwindSafe for PostGetCompressedTokenAccountsByOwnerV2Body
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