#[non_exhaustive]pub struct ListFilter {
pub id: String,
pub caption: String,
pub criteria: Option<String>,
}Expand description
A filter ready for people to pick from a menu on a list.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringWhat it is known by.
caption: StringWhat people see.
criteria: Option<String>What its records have to meet; nothing means all of them.
Implementations§
Trait Implementations§
Source§impl Clone for ListFilter
impl Clone for ListFilter
Source§fn clone(&self) -> ListFilter
fn clone(&self) -> ListFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListFilter
impl Debug for ListFilter
impl Eq for ListFilter
Source§impl PartialEq for ListFilter
impl PartialEq for ListFilter
impl StructuralPartialEq for ListFilter
Auto Trait Implementations§
impl Freeze for ListFilter
impl RefUnwindSafe for ListFilter
impl Send for ListFilter
impl Sync for ListFilter
impl Unpin for ListFilter
impl UnsafeUnpin for ListFilter
impl UnwindSafe for ListFilter
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