pub struct FilterChoice {
pub value: String,
pub label: String,
pub count: Option<usize>,
}Expand description
Filter choice
Fields§
§value: StringValue
label: StringLabel
count: Option<usize>Count of matching items
Trait Implementations§
Source§impl Clone for FilterChoice
impl Clone for FilterChoice
Source§fn clone(&self) -> FilterChoice
fn clone(&self) -> FilterChoice
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 FilterChoice
impl Debug for FilterChoice
Source§impl<'de> Deserialize<'de> for FilterChoice
impl<'de> Deserialize<'de> for FilterChoice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FilterChoice
impl RefUnwindSafe for FilterChoice
impl Send for FilterChoice
impl Sync for FilterChoice
impl Unpin for FilterChoice
impl UnwindSafe for FilterChoice
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