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