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