Enum nodb::SerializationMethod
source · pub enum SerializationMethod {
Json,
Bin,
Cbor,
}
Variants§
Trait Implementations§
source§impl Clone for SerializationMethod
impl Clone for SerializationMethod
source§fn clone(&self) -> SerializationMethod
fn clone(&self) -> SerializationMethod
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 SerializationMethod
impl Debug for SerializationMethod
source§impl Default for SerializationMethod
impl Default for SerializationMethod
source§fn default() -> SerializationMethod
fn default() -> SerializationMethod
Returns the “default value” for a type. Read more
source§impl Display for SerializationMethod
impl Display for SerializationMethod
source§impl PartialEq for SerializationMethod
impl PartialEq for SerializationMethod
source§fn eq(&self, other: &SerializationMethod) -> bool
fn eq(&self, other: &SerializationMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SerializationMethod
impl Eq for SerializationMethod
impl StructuralPartialEq for SerializationMethod
Auto Trait Implementations§
impl Freeze for SerializationMethod
impl RefUnwindSafe for SerializationMethod
impl Send for SerializationMethod
impl Sync for SerializationMethod
impl Unpin for SerializationMethod
impl UnwindSafe for SerializationMethod
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<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.