pub struct Tenant {
pub id: i64,
pub name: String,
pub slug: String,
pub kind: TenantKind,
pub role: TenantRole,
pub projects_count: i64,
pub default_project: Option<TenantProject>,
pub current: bool,
pub created_at: DateTime<Utc>,
}Fields§
§id: i64§name: String§slug: String§kind: TenantKind§role: TenantRoleThe requesting user’s role in this tenant.
projects_count: i64§default_project: Option<TenantProject>§current: boolWhether this is the tenant currently selected for the CLI session.
created_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tenant
impl<'de> Deserialize<'de> for Tenant
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 Tenant
impl RefUnwindSafe for Tenant
impl Send for Tenant
impl Sync for Tenant
impl Unpin for Tenant
impl UnsafeUnpin for Tenant
impl UnwindSafe for Tenant
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