pub struct SchemaVersion {
pub version: u32,
}Expand description
The version of the database’s schema, written when the database is created.
Fields§
§version: u32The version.
Trait Implementations§
Source§impl Clone for SchemaVersion
impl Clone for SchemaVersion
impl Copy for SchemaVersion
Source§impl Debug for SchemaVersion
impl Debug for SchemaVersion
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for SchemaVersion
impl<'bytes, Ctx> Decode<'bytes, Ctx> for SchemaVersion
Source§impl<Ctx> Encode<Ctx> for SchemaVersion
impl<Ctx> Encode<Ctx> for SchemaVersion
impl Eq for SchemaVersion
Source§impl PartialEq for SchemaVersion
impl PartialEq for SchemaVersion
Source§impl Record for SchemaVersion
impl Record for SchemaVersion
impl StructuralPartialEq for SchemaVersion
Auto Trait Implementations§
impl Freeze for SchemaVersion
impl RefUnwindSafe for SchemaVersion
impl Send for SchemaVersion
impl Sync for SchemaVersion
impl Unpin for SchemaVersion
impl UnsafeUnpin for SchemaVersion
impl UnwindSafe for SchemaVersion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.