pub struct Account {
pub name: Option<String>,
pub acct_id: Uuid,
pub created_at: Option<i64>,
pub roles: Option<Vec<AccessRoles>>,
pub custom_logo: Option<ByteArray>,
pub status: Option<UserAccountStatus>,
pub features: Option<Vec<String>>,
pub auth_configs: Option<HashMap<String, AuthenticationConfig>>,
pub approval_state: Option<AccountApprovalState>,
}
Fields
name: Option<String>
Name of the account. Account names must be unique within an EM instance.
acct_id: Uuid
Account ID uniquely identifying this account.
created_at: Option<i64>
When this account was created.
roles: Option<Vec<AccessRoles>>
Role of the current user in a particular account.
custom_logo: Option<ByteArray>
logo of the particular account. Max size 128Kb, .jpg, .png, .svg file formats only.
status: Option<UserAccountStatus>
features: Option<Vec<String>>
auth_configs: Option<HashMap<String, AuthenticationConfig>>
approval_state: Option<AccountApprovalState>
Implementations
Trait Implementations
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 RefUnwindSafe for Account
impl UnwindSafe for Account
Blanket Implementations
Mutably borrows from an owned value. Read more