pub struct Facet {
pub attr: String,
pub alias: Option<String>,
pub limit: Option<i32>,
}
Expand description
Facet : Query FACET expression
Fields§
§attr: String
The name of an attribute to facet
alias: Option<String>
Facet alias
limit: Option<i32>
The number of facet values to return
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Facet
impl<'de> Deserialize<'de> for Facet
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
impl StructuralPartialEq for Facet
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