pub struct FilterOptions<'a> {Show 13 fields
pub active_cal_href: Option<&'a str>,
pub hidden_calendars: &'a HashSet<String>,
pub selected_categories: &'a HashSet<String>,
pub selected_locations: &'a HashSet<String>,
pub match_all_categories: bool,
pub search_term: &'a str,
pub hide_completed_global: bool,
pub cutoff_date: Option<DateTime<Utc>>,
pub min_duration: Option<u32>,
pub max_duration: Option<u32>,
pub include_unset_duration: bool,
pub urgent_days: u32,
pub urgent_prio: u8,
}Fields§
§active_cal_href: Option<&'a str>§selected_categories: &'a HashSet<String>§selected_locations: &'a HashSet<String>§match_all_categories: bool§search_term: &'a str§hide_completed_global: bool§cutoff_date: Option<DateTime<Utc>>§min_duration: Option<u32>§max_duration: Option<u32>§include_unset_duration: bool§urgent_days: u32§urgent_prio: u8Auto Trait Implementations§
impl<'a> Freeze for FilterOptions<'a>
impl<'a> RefUnwindSafe for FilterOptions<'a>
impl<'a> Send for FilterOptions<'a>
impl<'a> Sync for FilterOptions<'a>
impl<'a> Unpin for FilterOptions<'a>
impl<'a> UnwindSafe for FilterOptions<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
Source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.