Enum actix_storage::Format
source · pub enum Format {
Json,
Cbor,
Ron,
Yaml,
Bincode,
Xml,
}
Expand description
An enum representing the format used for serde interactions
It is default to None if no format is specified and none of the serde extension features are activated which will cause run time error if used.
requires “with-serde” feature
Variants§
Trait Implementations§
source§impl PartialEq<Format> for Format
impl PartialEq<Format> for Format
impl Copy for Format
impl Eq for Format
impl StructuralEq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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.