pub struct ShoppingListItemUpdate {
pub name: String,
pub quantity: Option<f64>,
pub unit: Option<String>,
pub purchased: bool,
}Fields§
§name: String§quantity: Option<f64>§unit: Option<String>§purchased: boolTrait Implementations§
Source§impl Clone for ShoppingListItemUpdate
impl Clone for ShoppingListItemUpdate
Source§impl Debug for ShoppingListItemUpdate
impl Debug for ShoppingListItemUpdate
Source§impl<'de> Deserialize<'de> for ShoppingListItemUpdate
impl<'de> Deserialize<'de> for ShoppingListItemUpdate
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 ShoppingListItemUpdate
impl PartialEq for ShoppingListItemUpdate
Source§impl Serialize for ShoppingListItemUpdate
impl Serialize for ShoppingListItemUpdate
impl StructuralPartialEq for ShoppingListItemUpdate
Auto Trait Implementations§
impl Freeze for ShoppingListItemUpdate
impl RefUnwindSafe for ShoppingListItemUpdate
impl Send for ShoppingListItemUpdate
impl Sync for ShoppingListItemUpdate
impl Unpin for ShoppingListItemUpdate
impl UnsafeUnpin for ShoppingListItemUpdate
impl UnwindSafe for ShoppingListItemUpdate
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