pub struct ProductsCustomBatchRequestEntry {
pub batch_id: Option<u32>,
pub product: Option<Product>,
pub merchant_id: Option<String>,
pub method: Option<String>,
pub product_id: Option<String>,
}Expand description
A batch entry encoding a single non-batch products request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§batch_id: Option<u32>An entry ID, unique within the batch request.
product: Option<Product>The product to insert. Only required if the method is insert.
merchant_id: Option<String>The ID of the managing account.
method: Option<String>no description provided
product_id: Option<String>The ID of the product to get or delete. Only defined if the method is get or delete.
Trait Implementations§
source§impl Clone for ProductsCustomBatchRequestEntry
impl Clone for ProductsCustomBatchRequestEntry
source§fn clone(&self) -> ProductsCustomBatchRequestEntry
fn clone(&self) -> ProductsCustomBatchRequestEntry
Returns a copy 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 ProductsCustomBatchRequestEntry
impl Default for ProductsCustomBatchRequestEntry
source§fn default() -> ProductsCustomBatchRequestEntry
fn default() -> ProductsCustomBatchRequestEntry
Returns the “default value” for a type. Read more
source§impl Deserialize for ProductsCustomBatchRequestEntry
impl Deserialize for ProductsCustomBatchRequestEntry
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
impl Part for ProductsCustomBatchRequestEntry
Auto Trait Implementations§
impl Freeze for ProductsCustomBatchRequestEntry
impl RefUnwindSafe for ProductsCustomBatchRequestEntry
impl Send for ProductsCustomBatchRequestEntry
impl Sync for ProductsCustomBatchRequestEntry
impl Unpin for ProductsCustomBatchRequestEntry
impl UnwindSafe for ProductsCustomBatchRequestEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more