Struct rincon_client::index::types::NewGeoIndex
[−]
[src]
pub struct NewGeoIndex { /* fields omitted */ }
Methods
impl NewGeoIndex
[src]
pub fn new<F>(fields: F, geo_json: bool) -> Self where
F: IntoIterator<Item = String>,
[src]
F: IntoIterator<Item = String>,
pub fn with_location_field<L>(location_field: L, geo_json: bool) -> Self where
L: Into<String>,
[src]
L: Into<String>,
pub fn with_lat_lng_fields<LAT, LNG>(lat_field: LAT, lng_field: LNG) -> Self where
LAT: Into<String>,
LNG: Into<String>,
[src]
LAT: Into<String>,
LNG: Into<String>,
pub fn fields_mut(&mut self) -> &mut Vec<String>
[src]
pub fn fields(&self) -> &[String]
[src]
pub fn set_geo_json(&mut self, geo_json: bool)
[src]
pub fn is_geo_json(&self) -> bool
[src]
Trait Implementations
impl Debug for NewGeoIndex
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for NewGeoIndex
[src]
fn clone(&self) -> NewGeoIndex
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for NewGeoIndex
[src]
fn eq(&self, __arg_0: &NewGeoIndex) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NewGeoIndex) -> bool
[src]
This method tests for !=
.
impl From<NewGeoIndex> for NewIndex
[src]
fn from(index: NewGeoIndex) -> Self
[src]
Performs the conversion.