Enum cbor_event::ObjectKey
source · Expand description
CBOR Object key, represents the possible supported values for a CBOR key in a CBOR Map.
Variants§
Implementations§
Trait Implementations§
source§impl Deserialize for ObjectKey
impl Deserialize for ObjectKey
source§fn deserialize<R: BufRead>(raw: &mut Deserializer<R>) -> Result<Self>
fn deserialize<R: BufRead>(raw: &mut Deserializer<R>) -> Result<Self>
method to implement to deserialise an object from the given
Deserializer
. Read moresource§impl Ord for ObjectKey
impl Ord for ObjectKey
source§impl PartialOrd<ObjectKey> for ObjectKey
impl PartialOrd<ObjectKey> for ObjectKey
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 more