pub struct ParticipationResolver;Expand description
Stateless resolver independent of persistence, HTTP and the agent runtime.
Implementations§
Source§impl ParticipationResolver
impl ParticipationResolver
pub fn resolve_date( date: NaiveDate, members: &[FamilyMember], rules: &[RecurringParticipationRule], exceptions: &[MealException], ) -> Vec<MealParticipation>
pub fn resolve_week( start: NaiveDate, members: &[FamilyMember], rules: &[RecurringParticipationRule], exceptions: &[MealException], ) -> Vec<MealParticipation>
Auto Trait Implementations§
impl Freeze for ParticipationResolver
impl RefUnwindSafe for ParticipationResolver
impl Send for ParticipationResolver
impl Sync for ParticipationResolver
impl Unpin for ParticipationResolver
impl UnsafeUnpin for ParticipationResolver
impl UnwindSafe for ParticipationResolver
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