pub struct Account {
pub account_id: AccountId,
pub created_at: DateTime<Utc>,
pub name: Option<AccountName>,
pub owner: Owner,
pub type_: AccountType,
pub updated_at: DateTime<Utc>,
}Expand description
Account
JSON schema
{
"type": "object",
"required": [
"accountId",
"createdAt",
"owner",
"type",
"updatedAt"
],
"properties": {
"accountId": {
"$ref": "#/components/schemas/AccountId"
},
"createdAt": {
"description": "The timestamp when the account was created.",
"examples": [
"2023-10-08T14:30:00Z"
],
"type": "string",
"format": "date-time"
},
"name": {
"$ref": "#/components/schemas/AccountName"
},
"owner": {
"$ref": "#/components/schemas/Owner"
},
"type": {
"$ref": "#/components/schemas/AccountType"
},
"updatedAt": {
"description": "The timestamp when the account was last updated.",
"examples": [
"2023-10-08T14:30:00Z"
],
"type": "string",
"format": "date-time"
}
}
}Fields§
§account_id: AccountId§created_at: DateTime<Utc>The timestamp when the account was created.
name: Option<AccountName>§owner: Owner§type_: AccountType§updated_at: DateTime<Utc>The timestamp when the account was last updated.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
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