pub struct ProductsCustomBatchResponseEntry {
pub batch_id: Option<u32>,
pub kind: Option<String>,
pub errors: Option<Errors>,
pub product: Option<Product>,
}Expand description
A batch entry encoding a single non-batch products response.
This type is not used in any activity, and only used as part of another schema.
Fields§
§batch_id: Option<u32>The ID of the request entry this entry responds to.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “content#productsCustomBatchResponseEntry”.
errors: Option<Errors>A list of errors defined if and only if the request failed.
product: Option<Product>The inserted product. Only defined if the method is insert and if the request was successful.
Trait Implementations§
source§impl Clone for ProductsCustomBatchResponseEntry
impl Clone for ProductsCustomBatchResponseEntry
source§fn clone(&self) -> ProductsCustomBatchResponseEntry
fn clone(&self) -> ProductsCustomBatchResponseEntry
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 ProductsCustomBatchResponseEntry
impl Default for ProductsCustomBatchResponseEntry
source§fn default() -> ProductsCustomBatchResponseEntry
fn default() -> ProductsCustomBatchResponseEntry
Returns the “default value” for a type. Read more
source§impl Deserialize for ProductsCustomBatchResponseEntry
impl Deserialize for ProductsCustomBatchResponseEntry
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 ProductsCustomBatchResponseEntry
Auto Trait Implementations§
impl Freeze for ProductsCustomBatchResponseEntry
impl RefUnwindSafe for ProductsCustomBatchResponseEntry
impl Send for ProductsCustomBatchResponseEntry
impl Sync for ProductsCustomBatchResponseEntry
impl Unpin for ProductsCustomBatchResponseEntry
impl UnwindSafe for ProductsCustomBatchResponseEntry
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