pub struct PostGetCompressedTokenAccountsByOwnerBody {
pub id: PostGetCompressedTokenAccountsByOwnerBodyId,
pub jsonrpc: PostGetCompressedTokenAccountsByOwnerBodyJsonrpc,
pub method: PostGetCompressedTokenAccountsByOwnerBodyMethod,
pub params: PostGetCompressedTokenAccountsByOwnerBodyParams,
}Expand description
PostGetCompressedTokenAccountsByOwnerBody
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": [
"getCompressedTokenAccountsByOwner"
]
},
"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: PostGetCompressedTokenAccountsByOwnerBodyIdAn ID to identify the request.
jsonrpc: PostGetCompressedTokenAccountsByOwnerBodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetCompressedTokenAccountsByOwnerBodyMethodThe name of the method to invoke.
params: PostGetCompressedTokenAccountsByOwnerBodyParamsImplementations§
Trait Implementations§
Source§impl Clone for PostGetCompressedTokenAccountsByOwnerBody
impl Clone for PostGetCompressedTokenAccountsByOwnerBody
Source§fn clone(&self) -> PostGetCompressedTokenAccountsByOwnerBody
fn clone(&self) -> PostGetCompressedTokenAccountsByOwnerBody
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 PostGetCompressedTokenAccountsByOwnerBody
impl<'de> Deserialize<'de> for PostGetCompressedTokenAccountsByOwnerBody
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<PostGetCompressedTokenAccountsByOwnerBody> for PostGetCompressedTokenAccountsByOwnerBody
impl From<PostGetCompressedTokenAccountsByOwnerBody> for PostGetCompressedTokenAccountsByOwnerBody
Source§fn from(value: PostGetCompressedTokenAccountsByOwnerBody) -> Self
fn from(value: PostGetCompressedTokenAccountsByOwnerBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetCompressedTokenAccountsByOwnerBody> for PostGetCompressedTokenAccountsByOwnerBody
impl TryFrom<PostGetCompressedTokenAccountsByOwnerBody> for PostGetCompressedTokenAccountsByOwnerBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetCompressedTokenAccountsByOwnerBody,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetCompressedTokenAccountsByOwnerBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetCompressedTokenAccountsByOwnerBody
impl RefUnwindSafe for PostGetCompressedTokenAccountsByOwnerBody
impl Send for PostGetCompressedTokenAccountsByOwnerBody
impl Sync for PostGetCompressedTokenAccountsByOwnerBody
impl Unpin for PostGetCompressedTokenAccountsByOwnerBody
impl UnsafeUnpin for PostGetCompressedTokenAccountsByOwnerBody
impl UnwindSafe for PostGetCompressedTokenAccountsByOwnerBody
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