[][src]Struct rs_es::operations::search::aggregations::bucket::GeohashGrid

pub struct GeohashGrid<'a> { /* fields omitted */ }

Geohash aggregation

Methods

impl<'a> GeohashGrid<'a>[src]

pub fn new(field: &'a str) -> Self[src]

pub fn with_precision<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_size<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_shard_size<T: Into<u64>>(self, val: T) -> Self[src]

Trait Implementations

impl<'a> Debug for GeohashGrid<'a>[src]

impl<'a> Default for GeohashGrid<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for GeohashGrid<'a>[src]

impl<'a> From<GeohashGrid<'a>> for Aggregation<'a>[src]

impl<'a> Serialize for GeohashGrid<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for GeohashGrid<'a>

impl<'a> Send for GeohashGrid<'a>

impl<'a> Sync for GeohashGrid<'a>

impl<'a> Unpin for GeohashGrid<'a>

impl<'a> UnwindSafe for GeohashGrid<'a>

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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