pub struct RegionalPriceMigrationConfig {
pub oldest_allowed_price_version_time: Option<DateTime<Utc>>,
pub price_increase_type: Option<String>,
pub region_code: Option<String>,
}Expand description
Configuration for migration of a legacy price cohort.
This type is not used in any activity, and only used as part of another schema.
Fields§
§oldest_allowed_price_version_time: Option<DateTime<Utc>>Required. Subscribers in all legacy price cohorts before this time will be migrated to the current price. Subscribers in any newer price cohorts are unaffected. Affected subscribers will receive one or more notifications from Google Play about the price change. Price decreases occur at the subscriber’s next billing date. Price increases occur at the subscriber’s next billing date following a notification period that varies by region and price increase type.
price_increase_type: Option<String>Optional. The requested type of price increase
region_code: Option<String>Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. “US”.
Trait Implementations§
Source§impl Clone for RegionalPriceMigrationConfig
impl Clone for RegionalPriceMigrationConfig
Source§fn clone(&self) -> RegionalPriceMigrationConfig
fn clone(&self) -> RegionalPriceMigrationConfig
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 RegionalPriceMigrationConfig
impl Debug for RegionalPriceMigrationConfig
Source§impl Default for RegionalPriceMigrationConfig
impl Default for RegionalPriceMigrationConfig
Source§fn default() -> RegionalPriceMigrationConfig
fn default() -> RegionalPriceMigrationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegionalPriceMigrationConfig
impl<'de> Deserialize<'de> for RegionalPriceMigrationConfig
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
impl Part for RegionalPriceMigrationConfig
Auto Trait Implementations§
impl Freeze for RegionalPriceMigrationConfig
impl RefUnwindSafe for RegionalPriceMigrationConfig
impl Send for RegionalPriceMigrationConfig
impl Sync for RegionalPriceMigrationConfig
impl Unpin for RegionalPriceMigrationConfig
impl UnwindSafe for RegionalPriceMigrationConfig
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