pub struct FieldMapping {
pub field_type: FieldType,
pub indexed: bool,
pub stored: bool,
pub analyzed: bool,
pub analyzer: Option<String>,
pub format: Option<String>,
pub boost: Option<f32>,
pub properties: HashMap<String, Value>,
}Expand description
Field mapping
Fields§
§field_type: FieldTypeField type
indexed: boolWhether field is indexed
stored: boolWhether field is stored
analyzed: boolWhether field is analyzed
analyzer: Option<String>Field analyzer
format: Option<String>Field format
boost: Option<f32>Field boost
properties: HashMap<String, Value>Field properties
Trait Implementations§
Source§impl Clone for FieldMapping
impl Clone for FieldMapping
Auto Trait Implementations§
impl Freeze for FieldMapping
impl RefUnwindSafe for FieldMapping
impl Send for FieldMapping
impl Sync for FieldMapping
impl Unpin for FieldMapping
impl UnsafeUnpin for FieldMapping
impl UnwindSafe for FieldMapping
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