Struct ciborium::tag::Accepted [−][src]
pub struct Accepted<V, const TAG: u64>(pub V);
Expand description
An optional CBOR tag
This data type indicates that the specified tag, and only that tag, is accepted, but not required, during deserialization. The tag will always be emitted during serialization.
Tuple Fields
0: V
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<V, const TAG: u64> RefUnwindSafe for Accepted<V, TAG> where
V: RefUnwindSafe,
impl<V, const TAG: u64> UnwindSafe for Accepted<V, TAG> where
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more