pub struct SearchField {
pub description: String,
pub value_type: ValueType,
pub operators: Vec<FilterOperator>,
}Expand description
Accepted operands and operations for one provider-specific search field. Advertising a field does not imply every candidate has a known value for it.
Fields§
§description: StringShort explanation for CLI help, including units where relevant.
value_type: ValueTypeType of a filter operand, independent of the provider’s stored representation.
operators: Vec<FilterOperator>Operations the provider supports for this field.
Trait Implementations§
Source§impl Clone for SearchField
impl Clone for SearchField
Source§fn clone(&self) -> SearchField
fn clone(&self) -> SearchField
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 SearchField
impl Debug for SearchField
Source§impl<'de> Deserialize<'de> for SearchField
impl<'de> Deserialize<'de> for SearchField
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 SearchField
impl RefUnwindSafe for SearchField
impl Send for SearchField
impl Sync for SearchField
impl Unpin for SearchField
impl UnsafeUnpin for SearchField
impl UnwindSafe for SearchField
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