pub struct UpdateSubscriptionOfferRequest {
pub allow_missing: Option<bool>,
pub latency_tolerance: Option<String>,
pub regions_version: Option<RegionsVersion>,
pub subscription_offer: Option<SubscriptionOffer>,
pub update_mask: Option<FieldMask>,
}Expand description
Request message for UpdateSubscriptionOffer.
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 subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn’t exist, an offer will be created. If a new offer is created, update_mask is ignored.
latency_tolerance: Option<String>Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
regions_version: Option<RegionsVersion>Required. The version of the available regions being used for the subscription_offer.
subscription_offer: Option<SubscriptionOffer>Required. The subscription offer to update.
update_mask: Option<FieldMask>Required. The list of fields to be updated.
Trait Implementations§
Source§impl Clone for UpdateSubscriptionOfferRequest
impl Clone for UpdateSubscriptionOfferRequest
Source§fn clone(&self) -> UpdateSubscriptionOfferRequest
fn clone(&self) -> UpdateSubscriptionOfferRequest
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 UpdateSubscriptionOfferRequest
impl Default for UpdateSubscriptionOfferRequest
Source§fn default() -> UpdateSubscriptionOfferRequest
fn default() -> UpdateSubscriptionOfferRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSubscriptionOfferRequest
impl<'de> Deserialize<'de> for UpdateSubscriptionOfferRequest
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 UpdateSubscriptionOfferRequest
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionOfferRequest
impl RefUnwindSafe for UpdateSubscriptionOfferRequest
impl Send for UpdateSubscriptionOfferRequest
impl Sync for UpdateSubscriptionOfferRequest
impl Unpin for UpdateSubscriptionOfferRequest
impl UnwindSafe for UpdateSubscriptionOfferRequest
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