pub struct CommercialSubscriptionFull {Show 13 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub date_created: DateTime<Utc>,
pub date_expires: DateTime<Utc>,
pub date_last_modified: DateTime<Utc>,
pub date_starts: DateTime<Utc>,
pub distribution_link: Url,
pub is_active: bool,
pub product_link: Url,
pub purchaser_link: Url,
pub registrant_link: Url,
}Expand description
Representation of the commercial_subscription-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
date_created: DateTime<Utc>Date Created
The date the first subscription was applied.
date_expires: DateTime<Utc>Expiration Date
The expiration date of the subscription.
date_last_modified: DateTime<Utc>Date Modified
The date the subscription was modified.
date_starts: DateTime<Utc>Beginning of Subscription
The date the subscription starts.
distribution_link: UrlDistribution which has commercial subscription
Distribution for which this commercial subscription is applied.
is_active: boolActive
Whether this subscription is active.
product_link: UrlProduct which has commercial subscription
Project for which this commercial subscription is applied.
purchaser_link: UrlPurchaser
Person who purchased the voucher.
registrant_link: UrlRegistrant
Person who redeemed the voucher.
Implementations§
Source§impl CommercialSubscriptionFull
impl CommercialSubscriptionFull
Sourcepub fn self_(&self) -> Option<CommercialSubscription>
pub fn self_(&self) -> Option<CommercialSubscription>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<CommercialSubscription>)
Sourcepub fn distribution(&self) -> Distribution
pub fn distribution(&self) -> Distribution
Distribution which has commercial subscription
Distribution for which this commercial subscription is applied.
pub fn set_distribution(&mut self, value: Distribution)
Sourcepub fn product(&self) -> Project
pub fn product(&self) -> Project
Product which has commercial subscription
Project for which this commercial subscription is applied.
pub fn set_product(&mut self, value: Project)
pub fn set_purchaser(&mut self, value: Person)
Sourcepub fn registrant(&self) -> Person
pub fn registrant(&self) -> Person
Registrant
Person who redeemed the voucher.
pub fn set_registrant(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for CommercialSubscriptionFull
impl Clone for CommercialSubscriptionFull
Source§fn clone(&self) -> CommercialSubscriptionFull
fn clone(&self) -> CommercialSubscriptionFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more