pub struct Facet {
pub name: String,
pub values: Vec<FacetValue>,
}Expand description
A facet is a filterable dimension with all its possible values.
Fields§
§name: StringName of the facet (e.g., “status”, “category”).
values: Vec<FacetValue>All possible values for this facet, sorted by count descending.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Facet
impl RefUnwindSafe for Facet
impl Send for Facet
impl Sync for Facet
impl Unpin for Facet
impl UnwindSafe for Facet
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