[][src]Struct elastic_types::date::mapping::DefaultDateMapping

pub struct DefaultDateMapping<TFormat = DefaultDateFormat> where
    TFormat: DateFormat
{ /* fields omitted */ }

Default mapping for date.

Trait Implementations

impl DateFieldType<DefaultDateMapping<ChronoFormat>> for ChronoDateTime[src]

impl<TFormat> DateMapping for DefaultDateMapping<TFormat> where
    TFormat: DateFormat
[src]

type Format = TFormat

The date format bound to this mapping. Read more

fn boost() -> Option<f32>[src]

Field-level index time boosting. Accepts a floating point number, defaults to 1.0.

fn doc_values() -> Option<bool>[src]

Should the field be stored on disk in a column-stride fashion, so that it can later be used for sorting, aggregations, or scripting? Accepts true (default) or false. Read more

fn include_in_all() -> Option<bool>[src]

Whether or not the field value should be included in the _all field? Accepts true or false. Defaults to false if index is set to no, or if a parent object field sets include_in_all to false. Otherwise defaults to true. Read more

fn index() -> Option<bool>[src]

Should the field be searchable? Accepts not_analyzed (default) and no.

fn store() -> Option<bool>[src]

Whether the field value should be stored and retrievable separately from the _source field. Accepts true or false (default). Read more

fn ignore_malformed() -> Option<bool>[src]

If true, malformed numbers are ignored. If false (default), malformed numbers throw an exception and reject the whole document. Read more

fn null_value() -> Option<Date<Self>> where
    Self: Sized
[src]

Accepts a date value in one of the configured format's as the field which is substituted for any explicit null values. Defaults to null, which means the field is treated as missing. Read more

impl<TFormat: Copy> Copy for DefaultDateMapping<TFormat> where
    TFormat: DateFormat
[src]

impl<TFormat: Default> Default for DefaultDateMapping<TFormat> where
    TFormat: DateFormat
[src]

impl<TFormat: PartialEq> PartialEq<DefaultDateMapping<TFormat>> for DefaultDateMapping<TFormat> where
    TFormat: DateFormat
[src]

impl<TFormat: Clone> Clone for DefaultDateMapping<TFormat> where
    TFormat: DateFormat
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<TFormat: Debug> Debug for DefaultDateMapping<TFormat> where
    TFormat: DateFormat
[src]

Auto Trait Implementations

impl<TFormat> Send for DefaultDateMapping<TFormat> where
    TFormat: Send

impl<TFormat> Sync for DefaultDateMapping<TFormat> where
    TFormat: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,