pub struct ProductsCustomBatchResponseEntry {
pub batch_id: Option<u32>,
pub errors: Option<Errors>,
pub kind: Option<String>,
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.
errors: Option<Errors>A list of errors defined if and only if the request failed.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “content#productsCustomBatchResponseEntry”
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 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 ProductsCustomBatchResponseEntry
impl Default for ProductsCustomBatchResponseEntry
Source§fn default() -> ProductsCustomBatchResponseEntry
fn default() -> ProductsCustomBatchResponseEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductsCustomBatchResponseEntry
impl<'de> Deserialize<'de> for ProductsCustomBatchResponseEntry
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 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