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