pub struct MealPlannerApplication { /* private fields */ }Implementations§
Source§impl MealPlannerApplication
impl MealPlannerApplication
pub fn new(store: MealPlannerStore) -> Self
pub fn planning_context( &self, owner_id: &str, families: &[String], week_start: NaiveDate, ) -> Result<PlanningContext, MealPlannerError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MealPlannerApplication
impl RefUnwindSafe for MealPlannerApplication
impl Send for MealPlannerApplication
impl Sync for MealPlannerApplication
impl Unpin for MealPlannerApplication
impl UnsafeUnpin for MealPlannerApplication
impl UnwindSafe for MealPlannerApplication
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