pub struct UpdateOneTimeProductOfferRequest {
pub allow_missing: Option<bool>,
pub latency_tolerance: Option<String>,
pub one_time_product_offer: Option<OneTimeProductOffer>,
pub regions_version: Option<RegionsVersion>,
pub update_mask: Option<FieldMask>,
}Expand description
Request message for UpdateOneTimeProductOffer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_missing: Option<bool>Optional. If set to true, and the offer with the given package_name, product_id, purchase_option_id and offer_id doesn’t exist, an offer will be created. If a new offer is created, the update_mask is ignored.
latency_tolerance: Option<String>Optional. The latency tolerance for the propagation of this offer update. Defaults to latency-sensitive.
one_time_product_offer: Option<OneTimeProductOffer>Required. The one-time product offer to update.
regions_version: Option<RegionsVersion>Required. The version of the available regions being used for the offer.
update_mask: Option<FieldMask>Required. The list of fields to be updated.
Trait Implementations§
Source§impl Clone for UpdateOneTimeProductOfferRequest
impl Clone for UpdateOneTimeProductOfferRequest
Source§fn clone(&self) -> UpdateOneTimeProductOfferRequest
fn clone(&self) -> UpdateOneTimeProductOfferRequest
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 Default for UpdateOneTimeProductOfferRequest
impl Default for UpdateOneTimeProductOfferRequest
Source§fn default() -> UpdateOneTimeProductOfferRequest
fn default() -> UpdateOneTimeProductOfferRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateOneTimeProductOfferRequest
impl<'de> Deserialize<'de> for UpdateOneTimeProductOfferRequest
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 UpdateOneTimeProductOfferRequest
Auto Trait Implementations§
impl Freeze for UpdateOneTimeProductOfferRequest
impl RefUnwindSafe for UpdateOneTimeProductOfferRequest
impl Send for UpdateOneTimeProductOfferRequest
impl Sync for UpdateOneTimeProductOfferRequest
impl Unpin for UpdateOneTimeProductOfferRequest
impl UnwindSafe for UpdateOneTimeProductOfferRequest
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