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