pub struct EntitlementsActiveEntitlement {
pub feature: Expandable<EntitlementsFeature>,
pub id: EntitlementsActiveEntitlementId,
pub livemode: bool,
pub lookup_key: String,
}
Expand description
An active entitlement describes access to a feature for a customer.
Fields§
§feature: Expandable<EntitlementsFeature>
The Feature that the customer is entitled to.
id: EntitlementsActiveEntitlementId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
lookup_key: String
A unique key you provide as your own system identifier. This may be up to 80 characters.
Trait Implementations§
Source§impl Clone for EntitlementsActiveEntitlement
impl Clone for EntitlementsActiveEntitlement
Source§fn clone(&self) -> EntitlementsActiveEntitlement
fn clone(&self) -> EntitlementsActiveEntitlement
Returns a duplicate 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 FromValueOpt for EntitlementsActiveEntitlement
impl FromValueOpt for EntitlementsActiveEntitlement
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for EntitlementsActiveEntitlement
impl RefUnwindSafe for EntitlementsActiveEntitlement
impl Send for EntitlementsActiveEntitlement
impl Sync for EntitlementsActiveEntitlement
impl Unpin for EntitlementsActiveEntitlement
impl UnwindSafe for EntitlementsActiveEntitlement
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