pub struct LicenseStatusSummary {
pub id_hash: String,
pub product_id: String,
pub is_valid: bool,
pub days_remaining: i64,
pub expires_at: DateTime<Utc>,
pub issued_at: DateTime<Utc>,
pub has_hardware_binding: bool,
pub hardware_match: Option<HardwareMatchStatus>,
pub feature_count: usize,
pub validation_count: Option<u64>,
pub algorithm: String,
}Expand description
License status summary (no sensitive data)
Fields§
§id_hash: StringLicense ID hash (not the actual ID)
product_id: StringProduct ID (non-sensitive)
is_valid: boolWhether the license is currently valid
days_remaining: i64Days until expiration (negative if expired)
expires_at: DateTime<Utc>Expiration date
issued_at: DateTime<Utc>Issue date
has_hardware_binding: boolWhether hardware binding is configured
hardware_match: Option<HardwareMatchStatus>Hardware binding match status
feature_count: usizeNumber of features enabled
validation_count: Option<u64>Validation count from state
algorithm: StringSignature algorithm used
Trait Implementations§
Source§impl Clone for LicenseStatusSummary
impl Clone for LicenseStatusSummary
Source§fn clone(&self) -> LicenseStatusSummary
fn clone(&self) -> LicenseStatusSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 LicenseStatusSummary
impl Debug for LicenseStatusSummary
Source§impl<'de> Deserialize<'de> for LicenseStatusSummary
impl<'de> Deserialize<'de> for LicenseStatusSummary
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 LicenseStatusSummary
impl RefUnwindSafe for LicenseStatusSummary
impl Send for LicenseStatusSummary
impl Sync for LicenseStatusSummary
impl Unpin for LicenseStatusSummary
impl UnsafeUnpin for LicenseStatusSummary
impl UnwindSafe for LicenseStatusSummary
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