Struct egs_api::api::types::entitlement::Entitlement
source · [−]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
sourceimpl Clone for Entitlement
impl Clone for Entitlement
sourcefn clone(&self) -> Entitlement
fn clone(&self) -> Entitlement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Entitlement
impl Debug for Entitlement
sourceimpl Default for Entitlement
impl Default for Entitlement
sourcefn default() -> Entitlement
fn default() -> Entitlement
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Entitlement
impl<'de> Deserialize<'de> for Entitlement
sourcefn 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
sourceimpl PartialEq<Entitlement> for Entitlement
impl PartialEq<Entitlement> for Entitlement
sourcefn eq(&self, other: &Entitlement) -> bool
fn eq(&self, other: &Entitlement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Entitlement) -> bool
fn ne(&self, other: &Entitlement) -> bool
This method tests for !=.
sourceimpl Serialize for Entitlement
impl Serialize for Entitlement
impl StructuralPartialEq for Entitlement
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more