pub struct RangeFilter {
pub id: Cow<'static, str>,
pub title: Option<Cow<'static, str>>,
pub hide_from_header: Option<bool>,
pub min: Option<f32>,
pub max: Option<f32>,
pub decimal: 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.
min: Option<f32>The minimum value of the range.
max: Option<f32>The maximum value of the range.
decimal: boolWhether the range can be decimal.
Trait Implementations§
Source§impl Clone for RangeFilter
impl Clone for RangeFilter
Source§fn clone(&self) -> RangeFilter
fn clone(&self) -> RangeFilter
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 RangeFilter
impl Debug for RangeFilter
Source§impl Default for RangeFilter
impl Default for RangeFilter
Source§impl From<RangeFilter> for Filter
impl From<RangeFilter> for Filter
Source§fn from(value: RangeFilter) -> Filter
fn from(value: RangeFilter) -> Filter
Converts to this type from the input type.
Source§impl PartialEq for RangeFilter
impl PartialEq for RangeFilter
impl StructuralPartialEq for RangeFilter
Auto Trait Implementations§
impl Freeze for RangeFilter
impl RefUnwindSafe for RangeFilter
impl Send for RangeFilter
impl Sync for RangeFilter
impl Unpin for RangeFilter
impl UnwindSafe for RangeFilter
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