pub struct LicenseInfo {
pub uuid: String,
pub hash: String,
pub expiry: Option<String>,
pub seats: Option<u32>,
pub licensee: Option<String>,
pub tier: LicenseTier,
}Expand description
Commercial license information (spec §9.1).
Fields§
§uuid: StringUnique license identifier (UUID v4)
hash: StringHash of the license certificate (cryptographically bound)
expiry: Option<String>License expiration date (ISO 8601) — None for perpetual
seats: Option<u32>Maximum concurrent seats — None for unlimited
licensee: Option<String>Licensee name/organization
tier: LicenseTierLicense tier
Trait Implementations§
Source§impl Clone for LicenseInfo
impl Clone for LicenseInfo
Source§fn clone(&self) -> LicenseInfo
fn clone(&self) -> LicenseInfo
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 LicenseInfo
impl Debug for LicenseInfo
Source§impl<'de> Deserialize<'de> for LicenseInfo
impl<'de> Deserialize<'de> for LicenseInfo
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 LicenseInfo
impl RefUnwindSafe for LicenseInfo
impl Send for LicenseInfo
impl Sync for LicenseInfo
impl Unpin for LicenseInfo
impl UnsafeUnpin for LicenseInfo
impl UnwindSafe for LicenseInfo
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