pub struct DropSchema {
    pub code: String,
    pub quantity: i32,
}Fields§
§code: StringThe code of the item.
quantity: i32The quantity of the item.
Implementations§
Source§impl DropSchema
 
impl DropSchema
pub fn new(code: String, quantity: i32) -> DropSchema
Trait Implementations§
Source§impl Clone for DropSchema
 
impl Clone for DropSchema
Source§fn clone(&self) -> DropSchema
 
fn clone(&self) -> DropSchema
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 DropSchema
 
impl Debug for DropSchema
Source§impl Default for DropSchema
 
impl Default for DropSchema
Source§fn default() -> DropSchema
 
fn default() -> DropSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DropSchema
 
impl<'de> Deserialize<'de> for DropSchema
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 DropSchema
 
impl PartialEq for DropSchema
Source§impl Serialize for DropSchema
 
impl Serialize for DropSchema
impl StructuralPartialEq for DropSchema
Auto Trait Implementations§
impl Freeze for DropSchema
impl RefUnwindSafe for DropSchema
impl Send for DropSchema
impl Sync for DropSchema
impl Unpin for DropSchema
impl UnwindSafe for DropSchema
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