pub struct ShoppingList {
pub id: i64,
pub family_id: String,
pub start_date: NaiveDate,
pub end_date: NaiveDate,
pub items: Vec<ShoppingListItem>,
pub created_at: i64,
pub updated_at: i64,
}Fields§
§id: i64§family_id: String§start_date: NaiveDate§end_date: NaiveDate§items: Vec<ShoppingListItem>§created_at: i64§updated_at: i64Trait Implementations§
Source§impl Clone for ShoppingList
impl Clone for ShoppingList
Source§impl Debug for ShoppingList
impl Debug for ShoppingList
Source§impl<'de> Deserialize<'de> for ShoppingList
impl<'de> Deserialize<'de> for ShoppingList
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 ShoppingList
impl PartialEq for ShoppingList
Source§impl Serialize for ShoppingList
impl Serialize for ShoppingList
impl StructuralPartialEq for ShoppingList
Auto Trait Implementations§
impl Freeze for ShoppingList
impl RefUnwindSafe for ShoppingList
impl Send for ShoppingList
impl Sync for ShoppingList
impl Unpin for ShoppingList
impl UnsafeUnpin for ShoppingList
impl UnwindSafe for ShoppingList
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