Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ pub struct UserLicense {
pub allowed_deactivations: i64,
/// The license key.
pub key: String,
/// Total number of activations for the license.
#[serde(rename = "totalActivations")]
pub total_activations: u32,
/// Total number of deactivations for the license.
#[serde(rename = "totalDeactivations")]
pub total_deactivations: u32,
/// The license type.
#[serde(rename = "type")]
pub license_type: String,
Expand All @@ -116,6 +122,9 @@ pub struct FeatureEntitlement {
/// The value of the feature.
#[serde(rename = "value")]
pub value: String,
/// Timestamp when the license feature entitlement will expire.
#[serde(rename = "expiresAt")]
pub expires_at : i64,
}

/// Represents various permission flags.
Expand Down
Loading