Enum mongodb::options::ServerApiVersion [−][src]
#[non_exhaustive]
pub enum ServerApiVersion {
V1,
}
Expand description
Specifies the server API version to declare
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Use API version 1.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServerApiVersion
impl Send for ServerApiVersion
impl Sync for ServerApiVersion
impl Unpin for ServerApiVersion
impl UnwindSafe for ServerApiVersion
Blanket Implementations
Mutably borrows from an owned value. Read more