[−][src]Struct google_reseller1_sandbox::Subscription
JSON template for a subscription.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- insert subscriptions (request|response)
- delete subscriptions (none)
- get subscriptions (response)
- list subscriptions (none)
- start paid service subscriptions (response)
- change seats subscriptions (response)
- suspend subscriptions (response)
- activate subscriptions (response)
- change renewal settings subscriptions (response)
- change plan subscriptions (response)
Fields
status: Option<String>
Status of the subscription.
sku_id: Option<String>
Name of the sku for which this subscription is purchased.
trial_settings: Option<SubscriptionTrialSettings>
Trial Settings of the subscription.
deal_code: Option<String>
External name of the deal, if this subscription was provisioned under one. Otherwise this field will be empty.
resource_ui_url: Option<String>
Ui url for subscription resource.
customer_domain: Option<String>
Primary domain name of the customer
plan: Option<SubscriptionPlan>
Plan details of the subscription
seats: Option<Seats>
Number/Limit of seats in the new plan.
billing_method: Option<String>
Billing method of this subscription.
renewal_settings: Option<RenewalSettings>
Renewal settings of the subscription.
transfer_info: Option<SubscriptionTransferInfo>
Transfer related information for the subscription.
kind: Option<String>
Identifies the resource as a Subscription.
suspension_reasons: Option<Vec<String>>
Read-only field containing an enumerable of all the current suspension reasons for a subscription. It is possible for a subscription to have many concurrent, overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all pending suspensions are removed. Possible options include:
- PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the Google Apps Resold Terms of Services.
- RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service was cancelled at the end of their term.
- RESELLER_INITIATED - A manual suspension invoked by a Reseller.
- TRIAL_ENDED - The customer's trial expired without a plan selected.
- OTHER - The customer is suspended for an internal Google reason (e.g. abuse or otherwise).
creation_time: Option<String>
Creation time of this subscription in milliseconds since Unix epoch.
purchase_order_id: Option<String>
Purchase order id for your order tracking purposes.
subscription_id: Option<String>
The id of the subscription.
customer_id: Option<String>
The id of the customer to whom the subscription belongs.
Trait Implementations
impl Resource for Subscription
[src]
impl ResponseResult for Subscription
[src]
impl RequestValue for Subscription
[src]
impl Default for Subscription
[src]
fn default() -> Subscription
[src]
impl Clone for Subscription
[src]
fn clone(&self) -> Subscription
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Subscription
[src]
impl Serialize for Subscription
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Subscription
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Subscription
impl Unpin for Subscription
impl Sync for Subscription
impl UnwindSafe for Subscription
impl RefUnwindSafe for Subscription
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,