pub struct LmdbVersion {
pub string: &'static str,
pub major: i32,
pub minor: i32,
pub patch: i32,
}
Expand description
The underlying LMDB library version information.
Fields§
§string: &'static str
The library version as a string.
major: i32
The library major version number.
minor: i32
The library minor version number.
patch: i32
The library patch version number.
Trait Implementations§
Source§impl Clone for LmdbVersion
impl Clone for LmdbVersion
Source§fn clone(&self) -> LmdbVersion
fn clone(&self) -> LmdbVersion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LmdbVersion
impl Debug for LmdbVersion
Source§impl Hash for LmdbVersion
impl Hash for LmdbVersion
Source§impl Ord for LmdbVersion
impl Ord for LmdbVersion
Source§fn cmp(&self, other: &LmdbVersion) -> Ordering
fn cmp(&self, other: &LmdbVersion) -> Ordering
1.21.0 · 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
Source§impl PartialEq for LmdbVersion
impl PartialEq for LmdbVersion
Source§impl PartialOrd for LmdbVersion
impl PartialOrd for LmdbVersion
impl Copy for LmdbVersion
impl Eq for LmdbVersion
impl StructuralPartialEq for LmdbVersion
Auto Trait Implementations§
impl Freeze for LmdbVersion
impl RefUnwindSafe for LmdbVersion
impl Send for LmdbVersion
impl Sync for LmdbVersion
impl Unpin for LmdbVersion
impl UnwindSafe for LmdbVersion
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes