pub struct ActivateOneTimeProductOfferRequest {
pub latency_tolerance: Option<String>,
pub offer_id: Option<String>,
pub package_name: Option<String>,
pub product_id: Option<String>,
pub purchase_option_id: Option<String>,
}Expand description
Request message for ActivateOneTimeProductOffer.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§latency_tolerance: Option<String>Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.
offer_id: Option<String>Required. The offer ID of the offer to activate.
package_name: Option<String>Required. The parent app (package name) of the offer to activate.
product_id: Option<String>Required. The parent one-time product (ID) of the offer to activate.
purchase_option_id: Option<String>Required. The parent purchase option (ID) of the offer to activate.
Trait Implementations§
Source§impl Clone for ActivateOneTimeProductOfferRequest
impl Clone for ActivateOneTimeProductOfferRequest
Source§fn clone(&self) -> ActivateOneTimeProductOfferRequest
fn clone(&self) -> ActivateOneTimeProductOfferRequest
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 ActivateOneTimeProductOfferRequest
impl Default for ActivateOneTimeProductOfferRequest
Source§fn default() -> ActivateOneTimeProductOfferRequest
fn default() -> ActivateOneTimeProductOfferRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivateOneTimeProductOfferRequest
impl<'de> Deserialize<'de> for ActivateOneTimeProductOfferRequest
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 RequestValue for ActivateOneTimeProductOfferRequest
Auto Trait Implementations§
impl Freeze for ActivateOneTimeProductOfferRequest
impl RefUnwindSafe for ActivateOneTimeProductOfferRequest
impl Send for ActivateOneTimeProductOfferRequest
impl Sync for ActivateOneTimeProductOfferRequest
impl Unpin for ActivateOneTimeProductOfferRequest
impl UnwindSafe for ActivateOneTimeProductOfferRequest
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