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