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