pub struct PageFilters { /* private fields */ }Expand description
The values the request holds for its page’s filters, which a widget reads:
page_filters returns it.
Implementations§
Source§impl PageFilters
impl PageFilters
Sourcepub fn choice(&self, key: &str) -> Option<&str>
pub fn choice(&self, key: &str) -> Option<&str>
The option the select key holds; None when it holds none, or the page declares no such
select.
Sourcepub fn date_range(&self, key: &str) -> (Option<Date>, Option<Date>)
pub fn date_range(&self, key: &str) -> (Option<Date>, Option<Date>)
The first and the last day the date range key holds, each None while open; both None
when it holds neither, or the page declares no such range.
Trait Implementations§
Source§impl Clone for PageFilters
impl Clone for PageFilters
Source§impl Debug for PageFilters
impl Debug for PageFilters
Source§impl Default for PageFilters
impl Default for PageFilters
impl Eq for PageFilters
Source§impl PartialEq for PageFilters
impl PartialEq for PageFilters
impl StructuralPartialEq for PageFilters
Auto Trait Implementations§
impl Freeze for PageFilters
impl RefUnwindSafe for PageFilters
impl Send for PageFilters
impl Sync for PageFilters
impl Unpin for PageFilters
impl UnsafeUnpin for PageFilters
impl UnwindSafe for PageFilters
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.