Enum mongodb::options::TextIndexVersion [−][src]
pub enum TextIndexVersion {
V1,
V2,
V3,
Custom(u32),
}
Expand description
Specify the version for a text
index. For more information, see Versions.
Variants
Version 1.
Version 2.
Version 3.
Custom(u32)
Specify a custom text index version. This is present to provide forwards compatibility with any future text index versions 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 TextIndexVersion
impl Send for TextIndexVersion
impl Sync for TextIndexVersion
impl Unpin for TextIndexVersion
impl UnwindSafe for TextIndexVersion
Blanket Implementations
Mutably borrows from an owned value. Read more