pub struct PurgeProductsRequest {
pub delete_orphan_products: Option<bool>,
pub force: Option<bool>,
pub product_set_purge_config: Option<ProductSetPurgeConfig>,
}Expand description
Request message for the PurgeProducts method.
§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).
- locations products purge projects (request)
Fields§
§delete_orphan_products: Option<bool>If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
force: Option<bool>The default value is false. Override this value to true to actually perform the purge.
product_set_purge_config: Option<ProductSetPurgeConfig>Specify which ProductSet contains the Products to be deleted.
Trait Implementations§
Source§impl Clone for PurgeProductsRequest
impl Clone for PurgeProductsRequest
Source§fn clone(&self) -> PurgeProductsRequest
fn clone(&self) -> PurgeProductsRequest
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 PurgeProductsRequest
impl Debug for PurgeProductsRequest
Source§impl Default for PurgeProductsRequest
impl Default for PurgeProductsRequest
Source§fn default() -> PurgeProductsRequest
fn default() -> PurgeProductsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurgeProductsRequest
impl<'de> Deserialize<'de> for PurgeProductsRequest
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
Source§impl Serialize for PurgeProductsRequest
impl Serialize for PurgeProductsRequest
impl RequestValue for PurgeProductsRequest
Auto Trait Implementations§
impl Freeze for PurgeProductsRequest
impl RefUnwindSafe for PurgeProductsRequest
impl Send for PurgeProductsRequest
impl Sync for PurgeProductsRequest
impl Unpin for PurgeProductsRequest
impl UnwindSafe for PurgeProductsRequest
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