pub struct WorkspaceEntitlements {
pub tier: Tier,
pub expires_at: Option<Option<String>>,
pub limits: Value,
pub seats: Option<Box<WorkspaceEntitlementsSeats>>,
pub seats_used: Option<Option<Box<WorkspaceEntitlementsSeatsUsed>>>,
pub licence_mode: LicenceMode,
pub scope: Scope,
pub state: LicenceHealth,
pub read_only: bool,
pub first_failure_at: Option<Option<String>>,
pub grace_deadline: Option<Option<String>>,
pub missing_since: Option<Option<String>>,
}Fields§
§tier: Tier§expires_at: Option<Option<String>>§limits: Value§seats: Option<Box<WorkspaceEntitlementsSeats>>§seats_used: Option<Option<Box<WorkspaceEntitlementsSeatsUsed>>>§licence_mode: LicenceMode§scope: Scopewhose licence answers – the instance’s or the workspace’s own
state: LicenceHealth§read_only: bool§first_failure_at: Option<Option<String>>§grace_deadline: Option<Option<String>>§missing_since: Option<Option<String>>Implementations§
Source§impl WorkspaceEntitlements
impl WorkspaceEntitlements
pub fn new( tier: Tier, limits: Value, seats: Option<WorkspaceEntitlementsSeats>, licence_mode: LicenceMode, scope: Scope, state: LicenceHealth, read_only: bool, ) -> WorkspaceEntitlements
Trait Implementations§
Source§impl Clone for WorkspaceEntitlements
impl Clone for WorkspaceEntitlements
Source§impl Debug for WorkspaceEntitlements
impl Debug for WorkspaceEntitlements
Source§impl Default for WorkspaceEntitlements
impl Default for WorkspaceEntitlements
Source§impl<'de> Deserialize<'de> for WorkspaceEntitlements
impl<'de> Deserialize<'de> for WorkspaceEntitlements
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
Source§impl PartialEq for WorkspaceEntitlements
impl PartialEq for WorkspaceEntitlements
Source§impl Serialize for WorkspaceEntitlements
impl Serialize for WorkspaceEntitlements
impl StructuralPartialEq for WorkspaceEntitlements
Auto Trait Implementations§
impl Freeze for WorkspaceEntitlements
impl RefUnwindSafe for WorkspaceEntitlements
impl Send for WorkspaceEntitlements
impl Sync for WorkspaceEntitlements
impl Unpin for WorkspaceEntitlements
impl UnsafeUnpin for WorkspaceEntitlements
impl UnwindSafe for WorkspaceEntitlements
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