pub struct PriceStepUpConsentDetails {
pub consent_deadline_time: Option<DateTime<Utc>>,
pub new_price: Option<Money>,
pub state: Option<String>,
}Expand description
Information related to a price step-up that requires user consent.
This type is not used in any activity, and only used as part of another schema.
Fields§
§consent_deadline_time: Option<DateTime<Utc>>The deadline by which the user must provide consent. If consent is not provided by this time, the subscription will be canceled.
new_price: Option<Money>The new price which requires user consent.
state: Option<String>Output only. The state of the price step-up consent.
Trait Implementations§
Source§impl Clone for PriceStepUpConsentDetails
impl Clone for PriceStepUpConsentDetails
Source§fn clone(&self) -> PriceStepUpConsentDetails
fn clone(&self) -> PriceStepUpConsentDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PriceStepUpConsentDetails
impl Debug for PriceStepUpConsentDetails
Source§impl Default for PriceStepUpConsentDetails
impl Default for PriceStepUpConsentDetails
Source§fn default() -> PriceStepUpConsentDetails
fn default() -> PriceStepUpConsentDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PriceStepUpConsentDetails
impl<'de> Deserialize<'de> for PriceStepUpConsentDetails
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 PriceStepUpConsentDetails
Auto Trait Implementations§
impl Freeze for PriceStepUpConsentDetails
impl RefUnwindSafe for PriceStepUpConsentDetails
impl Send for PriceStepUpConsentDetails
impl Sync for PriceStepUpConsentDetails
impl Unpin for PriceStepUpConsentDetails
impl UnsafeUnpin for PriceStepUpConsentDetails
impl UnwindSafe for PriceStepUpConsentDetails
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