pub struct PostGetCompressedAccountsByOwnerV2Body {
pub id: PostGetCompressedAccountsByOwnerV2BodyId,
pub jsonrpc: PostGetCompressedAccountsByOwnerV2BodyJsonrpc,
pub method: PostGetCompressedAccountsByOwnerV2BodyMethod,
pub params: PostGetCompressedAccountsByOwnerV2BodyParams,
}Expand description
PostGetCompressedAccountsByOwnerV2Body
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": [
"getCompressedAccountsByOwnerV2"
]
},
"params": {
"type": "object",
"required": [
"owner"
],
"properties": {
"cursor": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Hash"
}
]
}
]
},
"dataSlice": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/DataSlice"
}
]
}
]
},
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FilterSelector"
}
},
"limit": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Limit"
}
]
}
]
},
"owner": {
"$ref": "#/components/schemas/SerializablePubkey"
}
},
"additionalProperties": false
}
}
}Fields§
§id: PostGetCompressedAccountsByOwnerV2BodyIdAn ID to identify the request.
jsonrpc: PostGetCompressedAccountsByOwnerV2BodyJsonrpcThe version of the JSON-RPC protocol.
method: PostGetCompressedAccountsByOwnerV2BodyMethodThe name of the method to invoke.
params: PostGetCompressedAccountsByOwnerV2BodyParamsImplementations§
Trait Implementations§
Source§impl Clone for PostGetCompressedAccountsByOwnerV2Body
impl Clone for PostGetCompressedAccountsByOwnerV2Body
Source§fn clone(&self) -> PostGetCompressedAccountsByOwnerV2Body
fn clone(&self) -> PostGetCompressedAccountsByOwnerV2Body
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 PostGetCompressedAccountsByOwnerV2Body
impl<'de> Deserialize<'de> for PostGetCompressedAccountsByOwnerV2Body
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<PostGetCompressedAccountsByOwnerV2Body> for PostGetCompressedAccountsByOwnerV2Body
impl From<PostGetCompressedAccountsByOwnerV2Body> for PostGetCompressedAccountsByOwnerV2Body
Source§fn from(value: PostGetCompressedAccountsByOwnerV2Body) -> Self
fn from(value: PostGetCompressedAccountsByOwnerV2Body) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetCompressedAccountsByOwnerV2Body> for PostGetCompressedAccountsByOwnerV2Body
impl TryFrom<PostGetCompressedAccountsByOwnerV2Body> for PostGetCompressedAccountsByOwnerV2Body
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetCompressedAccountsByOwnerV2Body,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetCompressedAccountsByOwnerV2Body, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetCompressedAccountsByOwnerV2Body
impl RefUnwindSafe for PostGetCompressedAccountsByOwnerV2Body
impl Send for PostGetCompressedAccountsByOwnerV2Body
impl Sync for PostGetCompressedAccountsByOwnerV2Body
impl Unpin for PostGetCompressedAccountsByOwnerV2Body
impl UnsafeUnpin for PostGetCompressedAccountsByOwnerV2Body
impl UnwindSafe for PostGetCompressedAccountsByOwnerV2Body
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