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§
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
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin 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