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