pub struct LicenseLicense {
pub days_since_expiry: Option<i32>,
pub days_to_expiry: Option<i32>,
pub expiration: Option<String>,
pub expired_alert: bool,
pub expiring_alert: bool,
pub id: String,
pub name: String,
pub status: String,
pub tiers: Vec<LicenseLicenseTier>,
}Fields§
§days_since_expiry: Option<i32>Number of days since a license expired.
days_to_expiry: Option<i32>Number of days before a license expires.
expiration: Option<String>Date of license expiry. Format is YYYY-MM-DD. It is not included if there is no expiration. Feature is considered expired at end of this day. The cluster time is used to determine expiry.
expired_alert: boolTrue when we are generating an alert that this feature has expired.
expiring_alert: boolTrue when we are generating an alert that this feature is expiring.
id: StringName of the licensed feature.
name: StringName of the licensed feature.
status: StringCurrent status of the license.
tiers: Vec<LicenseLicenseTier>Tiered License details.
Trait Implementations§
Source§impl Debug for LicenseLicense
impl Debug for LicenseLicense
Source§impl<'de> Deserialize<'de> for LicenseLicense
impl<'de> Deserialize<'de> for LicenseLicense
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 LicenseLicense
impl RefUnwindSafe for LicenseLicense
impl Send for LicenseLicense
impl Sync for LicenseLicense
impl Unpin for LicenseLicense
impl UnwindSafe for LicenseLicense
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more