Struct etwin_db_schema::SchemaVersion
source · pub struct SchemaVersion(_);
Trait Implementations§
source§impl Clone for SchemaVersion
impl Clone for SchemaVersion
source§fn clone(&self) -> SchemaVersion
fn clone(&self) -> SchemaVersion
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 SchemaVersion
impl Debug for SchemaVersion
source§impl From<SchemaVersion> for SchemaState
impl From<SchemaVersion> for SchemaState
source§fn from(version: SchemaVersion) -> SchemaState
fn from(version: SchemaVersion) -> SchemaState
Converts to this type from the input type.
source§impl FromStr for SchemaVersion
impl FromStr for SchemaVersion
source§impl Hash for SchemaVersion
impl Hash for SchemaVersion
source§impl Ord for SchemaVersion
impl Ord for SchemaVersion
source§fn cmp(&self, other: &SchemaVersion) -> Ordering
fn cmp(&self, other: &SchemaVersion) -> 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<SchemaVersion> for SchemaVersion
impl PartialEq<SchemaVersion> for SchemaVersion
source§fn eq(&self, other: &SchemaVersion) -> bool
fn eq(&self, other: &SchemaVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SchemaVersion> for SchemaVersion
impl PartialOrd<SchemaVersion> for SchemaVersion
source§fn partial_cmp(&self, other: &SchemaVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SchemaVersion
impl Eq for SchemaVersion
impl StructuralEq for SchemaVersion
impl StructuralPartialEq for SchemaVersion
Auto Trait Implementations§
impl RefUnwindSafe for SchemaVersion
impl Send for SchemaVersion
impl Sync for SchemaVersion
impl Unpin for SchemaVersion
impl UnwindSafe for SchemaVersion
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.