pub struct DeletePurchaseOptionRequest {
pub force: Option<bool>,
pub latency_tolerance: Option<String>,
pub package_name: Option<String>,
pub product_id: Option<String>,
pub purchase_option_id: Option<String>,
}Expand description
Request message for deleting a purchase option.
This type is not used in any activity, and only used as part of another schema.
Fields§
§force: Option<bool>Optional. This field has no effect for purchase options with no offers under them. For purchase options with associated offers: * If force is set to false (default), an error will be returned. * If force is set to true, any associated offers under the purchase option will be deleted.
latency_tolerance: Option<String>Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
package_name: Option<String>Required. The parent app (package name) of the purchase option to delete.
product_id: Option<String>Required. The parent one-time product (ID) of the purchase option to delete.
purchase_option_id: Option<String>Required. The purchase option ID of the purchase option to delete.
Trait Implementations§
Source§impl Clone for DeletePurchaseOptionRequest
impl Clone for DeletePurchaseOptionRequest
Source§fn clone(&self) -> DeletePurchaseOptionRequest
fn clone(&self) -> DeletePurchaseOptionRequest
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 DeletePurchaseOptionRequest
impl Debug for DeletePurchaseOptionRequest
Source§impl Default for DeletePurchaseOptionRequest
impl Default for DeletePurchaseOptionRequest
Source§fn default() -> DeletePurchaseOptionRequest
fn default() -> DeletePurchaseOptionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeletePurchaseOptionRequest
impl<'de> Deserialize<'de> for DeletePurchaseOptionRequest
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 DeletePurchaseOptionRequest
Auto Trait Implementations§
impl Freeze for DeletePurchaseOptionRequest
impl RefUnwindSafe for DeletePurchaseOptionRequest
impl Send for DeletePurchaseOptionRequest
impl Sync for DeletePurchaseOptionRequest
impl Unpin for DeletePurchaseOptionRequest
impl UnwindSafe for DeletePurchaseOptionRequest
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