Enum etwin_squirrel::SchemaState
source · pub enum SchemaState {
Empty,
Version(SchemaVersion),
}
Variants§
Empty
Version(SchemaVersion)
Trait Implementations§
source§impl Clone for SchemaState
impl Clone for SchemaState
source§fn clone(&self) -> SchemaState
fn clone(&self) -> SchemaState
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 SchemaState
impl Debug for SchemaState
source§impl From<SchemaVersion> for SchemaState
impl From<SchemaVersion> for SchemaState
source§fn from(version: SchemaVersion) -> Self
fn from(version: SchemaVersion) -> Self
Converts to this type from the input type.
source§impl Hash for SchemaState
impl Hash for SchemaState
source§impl Ord for SchemaState
impl Ord for SchemaState
source§fn cmp(&self, other: &SchemaState) -> Ordering
fn cmp(&self, other: &SchemaState) -> 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<SchemaState> for SchemaState
impl PartialEq<SchemaState> for SchemaState
source§fn eq(&self, other: &SchemaState) -> bool
fn eq(&self, other: &SchemaState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SchemaState> for SchemaState
impl PartialOrd<SchemaState> for SchemaState
source§fn partial_cmp(&self, other: &SchemaState) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaState) -> 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 SchemaState
impl Eq for SchemaState
impl StructuralEq for SchemaState
impl StructuralPartialEq for SchemaState
Auto Trait Implementations§
impl RefUnwindSafe for SchemaState
impl Send for SchemaState
impl Sync for SchemaState
impl Unpin for SchemaState
impl UnwindSafe for SchemaState
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.