Skip to main content

suggestions_for_today

Function suggestions_for_today 

Source
pub fn suggestions_for_today(
    conn: &Connection,
    today: NaiveDate,
    memories: &[MemoryCard],
) -> Result<Vec<CollageSuggestion>>
Expand description

Collages for today, built from today’s memories, pending trip and event suggestions, the user’s albums and favourites. The same library gives the same suggestions all day; rotating sources change from one day to the next. A photo is used by one suggestion at most.