pub struct OneTimeProductPreOrderOffer {
pub end_time: Option<DateTime<Utc>>,
pub price_change_behavior: Option<String>,
pub release_time: Option<DateTime<Utc>>,
pub start_time: Option<DateTime<Utc>>,
}Expand description
Configuration specific to pre-order offers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>Required. Time when the pre-order will stop being available.
price_change_behavior: Option<String>Required. Immutable. Specifies how price changes affect pre-existing pre-orders.
release_time: Option<DateTime<Utc>>Required. Time on which the product associated with the pre-order will be released and the pre-order orders fulfilled.
start_time: Option<DateTime<Utc>>Required. Time when the pre-order will start being available.
Trait Implementations§
Source§impl Clone for OneTimeProductPreOrderOffer
impl Clone for OneTimeProductPreOrderOffer
Source§fn clone(&self) -> OneTimeProductPreOrderOffer
fn clone(&self) -> OneTimeProductPreOrderOffer
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 OneTimeProductPreOrderOffer
impl Debug for OneTimeProductPreOrderOffer
Source§impl Default for OneTimeProductPreOrderOffer
impl Default for OneTimeProductPreOrderOffer
Source§fn default() -> OneTimeProductPreOrderOffer
fn default() -> OneTimeProductPreOrderOffer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OneTimeProductPreOrderOffer
impl<'de> Deserialize<'de> for OneTimeProductPreOrderOffer
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 OneTimeProductPreOrderOffer
Auto Trait Implementations§
impl Freeze for OneTimeProductPreOrderOffer
impl RefUnwindSafe for OneTimeProductPreOrderOffer
impl Send for OneTimeProductPreOrderOffer
impl Sync for OneTimeProductPreOrderOffer
impl Unpin for OneTimeProductPreOrderOffer
impl UnwindSafe for OneTimeProductPreOrderOffer
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