pub struct AddInventoryRequest {
pub inventory_items: Option<Vec<InventoryItem>>,
}Expand description
AddInventoryRequest : The object with the list of Inventory to be added
Fields§
§inventory_items: Option<Vec<InventoryItem>>List of Inventory to be added
Implementations§
Source§impl AddInventoryRequest
impl AddInventoryRequest
Sourcepub fn new() -> AddInventoryRequest
pub fn new() -> AddInventoryRequest
The object with the list of Inventory to be added
Trait Implementations§
Source§impl Clone for AddInventoryRequest
impl Clone for AddInventoryRequest
Source§fn clone(&self) -> AddInventoryRequest
fn clone(&self) -> AddInventoryRequest
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 AddInventoryRequest
impl Debug for AddInventoryRequest
Source§impl Default for AddInventoryRequest
impl Default for AddInventoryRequest
Source§fn default() -> AddInventoryRequest
fn default() -> AddInventoryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddInventoryRequest
impl<'de> Deserialize<'de> for AddInventoryRequest
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 PartialEq for AddInventoryRequest
impl PartialEq for AddInventoryRequest
Source§impl Serialize for AddInventoryRequest
impl Serialize for AddInventoryRequest
impl StructuralPartialEq for AddInventoryRequest
Auto Trait Implementations§
impl Freeze for AddInventoryRequest
impl RefUnwindSafe for AddInventoryRequest
impl Send for AddInventoryRequest
impl Sync for AddInventoryRequest
impl Unpin for AddInventoryRequest
impl UnsafeUnpin for AddInventoryRequest
impl UnwindSafe for AddInventoryRequest
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