pub struct CheckFilter {
pub id: Cow<'static, str>,
pub title: Option<Cow<'static, str>>,
pub hide_from_header: Option<bool>,
pub name: Option<Cow<'static, str>>,
pub can_exclude: bool,
pub default: Option<bool>,
}Expand description
Fields§
§id: Cow<'static, str>The identifier for this filter.
title: Option<Cow<'static, str>>The display title for this filter.
hide_from_header: Option<bool>Whether this filter should be hidden from the filters list header.
name: Option<Cow<'static, str>>Optional display name for the checkbox. If None, the title is used.
can_exclude: boolWhether the checkbox can be excluded (tristate).
default: Option<bool>The default state of the checkbox.
Trait Implementations§
Source§impl Clone for CheckFilter
impl Clone for CheckFilter
Source§fn clone(&self) -> CheckFilter
fn clone(&self) -> CheckFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckFilter
impl Debug for CheckFilter
Source§impl Default for CheckFilter
impl Default for CheckFilter
Source§impl From<CheckFilter> for Filter
impl From<CheckFilter> for Filter
Source§fn from(value: CheckFilter) -> Filter
fn from(value: CheckFilter) -> Filter
Converts to this type from the input type.
Source§impl PartialEq for CheckFilter
impl PartialEq for CheckFilter
impl StructuralPartialEq for CheckFilter
Auto Trait Implementations§
impl Freeze for CheckFilter
impl RefUnwindSafe for CheckFilter
impl Send for CheckFilter
impl Sync for CheckFilter
impl Unpin for CheckFilter
impl UnwindSafe for CheckFilter
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