pub struct PostGetCompressedTokenAccountsByDelegateV2Response {
pub error: Option<PostGetCompressedTokenAccountsByDelegateV2ResponseError>,
pub id: PostGetCompressedTokenAccountsByDelegateV2ResponseId,
pub jsonrpc: PostGetCompressedTokenAccountsByDelegateV2ResponseJsonrpc,
pub result: Option<PostGetCompressedTokenAccountsByDelegateV2ResponseResult>,
}Expand description
PostGetCompressedTokenAccountsByDelegateV2Response
JSON schema
{
"type": "object",
"required": [
"id",
"jsonrpc"
],
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
}
}
},
"id": {
"description": "An ID to identify the response.",
"type": "string",
"enum": [
"test-account"
]
},
"jsonrpc": {
"description": "The version of the JSON-RPC protocol.",
"type": "string",
"enum": [
"2.0"
]
},
"result": {
"type": "object",
"required": [
"context",
"value"
],
"properties": {
"context": {
"$ref": "#/components/schemas/Context"
},
"value": {
"$ref": "#/components/schemas/TokenAccountListV2"
}
},
"additionalProperties": false
}
}
}Fields§
§error: Option<PostGetCompressedTokenAccountsByDelegateV2ResponseError>§id: PostGetCompressedTokenAccountsByDelegateV2ResponseIdAn ID to identify the response.
jsonrpc: PostGetCompressedTokenAccountsByDelegateV2ResponseJsonrpcThe version of the JSON-RPC protocol.
result: Option<PostGetCompressedTokenAccountsByDelegateV2ResponseResult>Implementations§
Trait Implementations§
Source§impl Clone for PostGetCompressedTokenAccountsByDelegateV2Response
impl Clone for PostGetCompressedTokenAccountsByDelegateV2Response
Source§fn clone(&self) -> PostGetCompressedTokenAccountsByDelegateV2Response
fn clone(&self) -> PostGetCompressedTokenAccountsByDelegateV2Response
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 PostGetCompressedTokenAccountsByDelegateV2Response
impl<'de> Deserialize<'de> for PostGetCompressedTokenAccountsByDelegateV2Response
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<PostGetCompressedTokenAccountsByDelegateV2Response> for PostGetCompressedTokenAccountsByDelegateV2Response
impl From<PostGetCompressedTokenAccountsByDelegateV2Response> for PostGetCompressedTokenAccountsByDelegateV2Response
Source§fn from(value: PostGetCompressedTokenAccountsByDelegateV2Response) -> Self
fn from(value: PostGetCompressedTokenAccountsByDelegateV2Response) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetCompressedTokenAccountsByDelegateV2Response> for PostGetCompressedTokenAccountsByDelegateV2Response
impl TryFrom<PostGetCompressedTokenAccountsByDelegateV2Response> for PostGetCompressedTokenAccountsByDelegateV2Response
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetCompressedTokenAccountsByDelegateV2Response,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetCompressedTokenAccountsByDelegateV2Response, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetCompressedTokenAccountsByDelegateV2Response
impl RefUnwindSafe for PostGetCompressedTokenAccountsByDelegateV2Response
impl Send for PostGetCompressedTokenAccountsByDelegateV2Response
impl Sync for PostGetCompressedTokenAccountsByDelegateV2Response
impl Unpin for PostGetCompressedTokenAccountsByDelegateV2Response
impl UnsafeUnpin for PostGetCompressedTokenAccountsByDelegateV2Response
impl UnwindSafe for PostGetCompressedTokenAccountsByDelegateV2Response
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