Struct egs_api::api::types::entitlement::Entitlement [−][src]
pub struct Entitlement {Show 18 fields
pub id: String,
pub entitlement_name: String,
pub namespace: String,
pub catalog_item_id: String,
pub account_id: String,
pub identity_id: String,
pub entitlement_type: String,
pub grant_date: String,
pub consumable: bool,
pub status: String,
pub active: bool,
pub use_count: i64,
pub created: String,
pub updated: String,
pub group_entitlement: bool,
pub original_use_count: Option<i64>,
pub platform_type: Option<String>,
pub country: Option<String>,
}Fields
id: Stringentitlement_name: Stringnamespace: Stringcatalog_item_id: Stringaccount_id: Stringidentity_id: Stringentitlement_type: Stringgrant_date: Stringconsumable: boolstatus: Stringactive: booluse_count: i64created: Stringupdated: Stringgroup_entitlement: booloriginal_use_count: Option<i64>platform_type: Option<String>country: Option<String>Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Entitlement
impl Send for Entitlement
impl Sync for Entitlement
impl Unpin for Entitlement
impl UnwindSafe for Entitlement
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self