#[non_exhaustive]pub enum DatabaseFormat {
Csvgz,
Mmdb,
Other(String),
}Expand description
DatabaseFormat : A file format a database version is published in. A file format a database version is published in.
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.
Implementations§
Trait Implementations§
Source§impl Clone for DatabaseFormat
impl Clone for DatabaseFormat
Source§impl Debug for DatabaseFormat
impl Debug for DatabaseFormat
Source§impl Default for DatabaseFormat
impl Default for DatabaseFormat
Source§fn default() -> DatabaseFormat
fn default() -> DatabaseFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseFormat
impl<'de> Deserialize<'de> for DatabaseFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DatabaseFormat
impl Display for DatabaseFormat
impl Eq for DatabaseFormat
Source§impl From<&DatabaseFormat> for DatabaseFormat
A format read off an answer, version.formats[0] say, can be handed to a
download as it is, without a clone().
impl From<&DatabaseFormat> for DatabaseFormat
A format read off an answer, version.formats[0] say, can be handed to a
download as it is, without a clone().
Source§fn from(format: &DatabaseFormat) -> Self
fn from(format: &DatabaseFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for DatabaseFormat
impl Hash for DatabaseFormat
Source§impl Ord for DatabaseFormat
impl Ord for DatabaseFormat
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DatabaseFormat
impl PartialEq for DatabaseFormat
Source§impl PartialOrd for DatabaseFormat
impl PartialOrd for DatabaseFormat
Source§impl Serialize for DatabaseFormat
impl Serialize for DatabaseFormat
impl StructuralPartialEq for DatabaseFormat
Auto Trait Implementations§
impl Forget for DatabaseFormat
impl Freeze for DatabaseFormat
impl Move for DatabaseFormat
impl RefUnwindSafe for DatabaseFormat
impl Send for DatabaseFormat
impl Sync for DatabaseFormat
impl Unpin for DatabaseFormat
impl UnsafeUnpin for DatabaseFormat
impl UnwindSafe for DatabaseFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.