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: String§entitlement_name: String§namespace: String§catalog_item_id: String§account_id: String§identity_id: String§entitlement_type: String§grant_date: String§consumable: bool§status: String§active: bool§use_count: i64§created: String§updated: String§group_entitlement: bool§original_use_count: Option<i64>§platform_type: Option<String>§country: Option<String>Trait Implementations§
Source§impl Clone for Entitlement
impl Clone for Entitlement
Source§fn clone(&self) -> Entitlement
fn clone(&self) -> Entitlement
Returns a copy 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 Entitlement
impl Debug for Entitlement
Source§impl Default for Entitlement
impl Default for Entitlement
Source§fn default() -> Entitlement
fn default() -> Entitlement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Entitlement
impl<'de> Deserialize<'de> for Entitlement
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
Source§impl PartialEq for Entitlement
impl PartialEq for Entitlement
Source§impl Serialize for Entitlement
impl Serialize for Entitlement
impl StructuralPartialEq for Entitlement
Auto Trait Implementations§
impl Freeze for Entitlement
impl RefUnwindSafe for Entitlement
impl Send for Entitlement
impl Sync for Entitlement
impl Unpin for Entitlement
impl UnwindSafe for Entitlement
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