pub struct PostGetCompressedTokenAccountsByOwnerV2BodyParams {
pub cursor: Option<Base58String>,
pub limit: Option<Limit>,
pub mint: Option<SerializablePubkey>,
pub owner: SerializablePubkey,
}Expand description
PostGetCompressedTokenAccountsByOwnerV2BodyParams
JSON schema
{
"type": "object",
"required": [
"owner"
],
"properties": {
"cursor": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Base58String"
}
]
}
]
},
"limit": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Limit"
}
]
}
]
},
"mint": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/SerializablePubkey"
}
]
}
]
},
"owner": {
"$ref": "#/components/schemas/SerializablePubkey"
}
},
"additionalProperties": false
}Fields§
§cursor: Option<Base58String>§limit: Option<Limit>§mint: Option<SerializablePubkey>§owner: SerializablePubkeyImplementations§
Trait Implementations§
Source§impl Clone for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl Clone for PostGetCompressedTokenAccountsByOwnerV2BodyParams
Source§fn clone(&self) -> PostGetCompressedTokenAccountsByOwnerV2BodyParams
fn clone(&self) -> PostGetCompressedTokenAccountsByOwnerV2BodyParams
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 PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl<'de> Deserialize<'de> for PostGetCompressedTokenAccountsByOwnerV2BodyParams
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<PostGetCompressedTokenAccountsByOwnerV2BodyParams> for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl From<PostGetCompressedTokenAccountsByOwnerV2BodyParams> for PostGetCompressedTokenAccountsByOwnerV2BodyParams
Source§fn from(value: PostGetCompressedTokenAccountsByOwnerV2BodyParams) -> Self
fn from(value: PostGetCompressedTokenAccountsByOwnerV2BodyParams) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetCompressedTokenAccountsByOwnerV2BodyParams> for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl TryFrom<PostGetCompressedTokenAccountsByOwnerV2BodyParams> for PostGetCompressedTokenAccountsByOwnerV2BodyParams
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetCompressedTokenAccountsByOwnerV2BodyParams,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetCompressedTokenAccountsByOwnerV2BodyParams, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl RefUnwindSafe for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl Send for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl Sync for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl Unpin for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl UnsafeUnpin for PostGetCompressedTokenAccountsByOwnerV2BodyParams
impl UnwindSafe for PostGetCompressedTokenAccountsByOwnerV2BodyParams
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