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