/// Iterate over the notes, if any.
Iterate over the notes, if any.
Iterate over the notes if any .
pub fn notes(&self) -> impl Iterator<Item = (&DateTime<Utc>, &str)> {
    self.history.iter().filter_map(|event| match event {
      Event::NoteAdded {
        ref event_date,
        ref note,
      } => Some((event_date, note.as_str())),
      _ => None,
    })
  }
pub fn notes ( & self ) -> impl Iterator < Item = ( & DateTime < Utc > , & str ) > { self . history . iter ( ) . filter_map ( | event | match event { Event :: NoteAdded { ref event_date , ref note , } => Some ( ( event_date , note . as_str ( ) ) ) , _ => None , } ) }
Iterate over the notes, if any.
Iterate over the notes if any .
&self