pub struct Account {
pub id: Option<String>,
pub organization_id: Option<String>,
pub name: Option<String>,
pub handle: Option<String>,
pub description: Option<String>,
pub status: Option<AccountStatus>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub crn: Option<String>,
pub bootstrap_role_id: Option<String>,
pub bootstrap_role_crn: Option<String>,
}Fields§
§id: Option<String>Internal UUID. Used for joins; the handle is the public identifier.
organization_id: Option<String>§name: Option<String>§handle: Option<String>Globally-unique, immutable handle (URL-safe identifier). Sent as X-Account-Id on every request that needs account context and embedded in CRNs.
description: Option<String>§status: Option<AccountStatus>§created_at: Option<String>§updated_at: Option<String>§crn: Option<String>Canonical Workspace resource identity.
bootstrap_role_id: Option<String>Returned on creation. Immutable ID of the AccountAdministrator role trusted only to the account creator.
bootstrap_role_crn: Option<String>Returned on creation. Assume this role to administer the new account; source AssumeRole permission is still required.
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