pub enum LicenseStatus {
Valid,
Expiring,
Grace,
ExpiredAccess,
Expired,
Unknown(String),
}Expand description
LicenseStatus values accepted/returned on the wire. Unknown preserves a
value this SDK does not recognize yet, for forward compatibility with
a server that has introduced a new LicenseStatus value.
Variants§
Valid
Expiring
Grace
ExpiredAccess
Expired
Unknown(String)
A value not defined when this SDK was generated.
Implementations§
Trait Implementations§
Source§impl Clone for LicenseStatus
impl Clone for LicenseStatus
Source§fn clone(&self) -> LicenseStatus
fn clone(&self) -> LicenseStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LicenseStatus
impl Debug for LicenseStatus
Source§impl<'de> Deserialize<'de> for LicenseStatus
impl<'de> Deserialize<'de> for LicenseStatus
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 Display for LicenseStatus
impl Display for LicenseStatus
impl Eq for LicenseStatus
Source§impl From<&str> for LicenseStatus
impl From<&str> for LicenseStatus
Source§impl PartialEq for LicenseStatus
impl PartialEq for LicenseStatus
Source§impl Serialize for LicenseStatus
impl Serialize for LicenseStatus
impl StructuralPartialEq for LicenseStatus
Auto Trait Implementations§
impl Freeze for LicenseStatus
impl RefUnwindSafe for LicenseStatus
impl Send for LicenseStatus
impl Sync for LicenseStatus
impl Unpin for LicenseStatus
impl UnsafeUnpin for LicenseStatus
impl UnwindSafe for LicenseStatus
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