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