pub struct Mapping {
pub mapping_type: MappingType,
pub extra: BTreeMap<String, GenericValue>,
}Expand description
OpenSearch mapping. mapping_type is required; all other properties are passed through as-is.
Fields§
§mapping_type: MappingType§extra: BTreeMap<String, GenericValue>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnsafeUnpin for Mapping
impl UnwindSafe for Mapping
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