pub struct PostGetCompressedAccountsByOwnerV2BodyParams {
pub cursor: Option<Hash>,
pub data_slice: Option<DataSlice>,
pub filters: Vec<FilterSelector>,
pub limit: Option<Limit>,
pub owner: SerializablePubkey,
}Expand description
PostGetCompressedAccountsByOwnerV2BodyParams
JSON schema
{
"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§
§cursor: Option<Hash>§data_slice: Option<DataSlice>§filters: Vec<FilterSelector>§limit: Option<Limit>§owner: SerializablePubkeyImplementations§
Trait Implementations§
Source§impl Clone for PostGetCompressedAccountsByOwnerV2BodyParams
impl Clone for PostGetCompressedAccountsByOwnerV2BodyParams
Source§fn clone(&self) -> PostGetCompressedAccountsByOwnerV2BodyParams
fn clone(&self) -> PostGetCompressedAccountsByOwnerV2BodyParams
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 PostGetCompressedAccountsByOwnerV2BodyParams
impl<'de> Deserialize<'de> for PostGetCompressedAccountsByOwnerV2BodyParams
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<PostGetCompressedAccountsByOwnerV2BodyParams> for PostGetCompressedAccountsByOwnerV2BodyParams
impl From<PostGetCompressedAccountsByOwnerV2BodyParams> for PostGetCompressedAccountsByOwnerV2BodyParams
Source§fn from(value: PostGetCompressedAccountsByOwnerV2BodyParams) -> Self
fn from(value: PostGetCompressedAccountsByOwnerV2BodyParams) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetCompressedAccountsByOwnerV2BodyParams> for PostGetCompressedAccountsByOwnerV2BodyParams
impl TryFrom<PostGetCompressedAccountsByOwnerV2BodyParams> for PostGetCompressedAccountsByOwnerV2BodyParams
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetCompressedAccountsByOwnerV2BodyParams,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetCompressedAccountsByOwnerV2BodyParams, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetCompressedAccountsByOwnerV2BodyParams
impl RefUnwindSafe for PostGetCompressedAccountsByOwnerV2BodyParams
impl Send for PostGetCompressedAccountsByOwnerV2BodyParams
impl Sync for PostGetCompressedAccountsByOwnerV2BodyParams
impl Unpin for PostGetCompressedAccountsByOwnerV2BodyParams
impl UnsafeUnpin for PostGetCompressedAccountsByOwnerV2BodyParams
impl UnwindSafe for PostGetCompressedAccountsByOwnerV2BodyParams
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