Enum mongodb::options::Sphere2DIndexVersion [−][src]
pub enum Sphere2DIndexVersion {
V2,
V3,
Custom(u32),
}
This is supported on crate feature
tokio-runtime
and non-crate feature async-std-runtime
, or non-crate feature tokio-runtime
and crate feature async-std-runtime
only.Expand description
Specify the version for a 2dsphere
index. For more information, see Versions.
Variants
Version 2.
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.
Tuple Fields of Custom
0: u32
Trait Implementations
Deserialize this value from the given Serde deserializer. 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
Mutably borrows from an owned value. Read more