#[non_exhaustive]pub struct ProductInlineSource {
pub products: Vec<Product>,
/* private fields */
}Expand description
The inline source for the input config for ImportProducts method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.products: Vec<Product>Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.
Implementations§
Source§impl ProductInlineSource
impl ProductInlineSource
Sourcepub fn set_products<T, V>(self, v: T) -> Self
pub fn set_products<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ProductInlineSource
impl Clone for ProductInlineSource
Source§fn clone(&self) -> ProductInlineSource
fn clone(&self) -> ProductInlineSource
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 ProductInlineSource
impl Debug for ProductInlineSource
Source§impl Default for ProductInlineSource
impl Default for ProductInlineSource
Source§fn default() -> ProductInlineSource
fn default() -> ProductInlineSource
Returns the “default value” for a type. Read more
Source§impl Message for ProductInlineSource
impl Message for ProductInlineSource
Source§impl PartialEq for ProductInlineSource
impl PartialEq for ProductInlineSource
impl StructuralPartialEq for ProductInlineSource
Auto Trait Implementations§
impl Freeze for ProductInlineSource
impl RefUnwindSafe for ProductInlineSource
impl Send for ProductInlineSource
impl Sync for ProductInlineSource
impl Unpin for ProductInlineSource
impl UnsafeUnpin for ProductInlineSource
impl UnwindSafe for ProductInlineSource
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