Enum mungos::options::Sphere2DIndexVersion
source · [−]pub enum Sphere2DIndexVersion {
V2,
V3,
Custom(u32),
}
Expand description
Specify the version for a 2dsphere
index. For more information, see Versions.
Variants
V2
Version 2.
V3
Version 3.
Custom(u32)
Specify a custom sphere 2D index version. This is present to provide forwards compatibility with any future sphere 2D index verions which may be added to new versions of MongoDB.
Trait Implementations
sourceimpl Clone for Sphere2DIndexVersion
impl Clone for Sphere2DIndexVersion
sourcefn clone(&self) -> Sphere2DIndexVersion
fn clone(&self) -> Sphere2DIndexVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Sphere2DIndexVersion
impl Debug for Sphere2DIndexVersion
sourceimpl<'de> Deserialize<'de> for Sphere2DIndexVersion
impl<'de> Deserialize<'de> for Sphere2DIndexVersion
sourcefn deserialize<D>(
deserializer: D
) -> Result<Sphere2DIndexVersion, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Sphere2DIndexVersion, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Sphere2DIndexVersion
impl Serialize for Sphere2DIndexVersion
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Sphere2DIndexVersion
impl Send for Sphere2DIndexVersion
impl Sync for Sphere2DIndexVersion
impl Unpin for Sphere2DIndexVersion
impl UnwindSafe for Sphere2DIndexVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more