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