pub struct IndexMapping {
pub properties: HashMap<String, FieldMapping>,
pub dynamic: Option<DynamicMapping>,
pub date_formats: Vec<String>,
pub custom_types: HashMap<String, Value>,
}Expand description
Index mapping
Fields§
§properties: HashMap<String, FieldMapping>Field mappings
dynamic: Option<DynamicMapping>Dynamic mapping rules
date_formats: Vec<String>Date formats
custom_types: HashMap<String, Value>Custom field types
Trait Implementations§
Source§impl Clone for IndexMapping
impl Clone for IndexMapping
Source§impl Debug for IndexMapping
impl Debug for IndexMapping
Auto Trait Implementations§
impl Freeze for IndexMapping
impl RefUnwindSafe for IndexMapping
impl Send for IndexMapping
impl Sync for IndexMapping
impl Unpin for IndexMapping
impl UnsafeUnpin for IndexMapping
impl UnwindSafe for IndexMapping
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