pub struct PrepaidBasePlanType {
pub billing_period_duration: Option<String>,
pub time_extension: Option<String>,
}Expand description
Represents a base plan that does not automatically renew at the end of the base plan, and must be manually renewed by the user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§billing_period_duration: Option<String>Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created.
time_extension: Option<String>Whether users should be able to extend this prepaid base plan in Google Play surfaces. Defaults to TIME_EXTENSION_ACTIVE if not specified.
Trait Implementations§
Source§impl Clone for PrepaidBasePlanType
impl Clone for PrepaidBasePlanType
Source§fn clone(&self) -> PrepaidBasePlanType
fn clone(&self) -> PrepaidBasePlanType
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 Debug for PrepaidBasePlanType
impl Debug for PrepaidBasePlanType
Source§impl Default for PrepaidBasePlanType
impl Default for PrepaidBasePlanType
Source§fn default() -> PrepaidBasePlanType
fn default() -> PrepaidBasePlanType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrepaidBasePlanType
impl<'de> Deserialize<'de> for PrepaidBasePlanType
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 Serialize for PrepaidBasePlanType
impl Serialize for PrepaidBasePlanType
impl Part for PrepaidBasePlanType
Auto Trait Implementations§
impl Freeze for PrepaidBasePlanType
impl RefUnwindSafe for PrepaidBasePlanType
impl Send for PrepaidBasePlanType
impl Sync for PrepaidBasePlanType
impl Unpin for PrepaidBasePlanType
impl UnwindSafe for PrepaidBasePlanType
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