[−][src]Struct cbor_tools::Tag
A tag value for use with Tagged
Tags are just integers; this type exists to avoid any type confusion when passing them as function arguments.
See RFC 7049 2.4 for details.
Implementations
impl Tag
[src]
pub const STD_DATE_TIME: Tag
[src]
pub const EPOCH_DATE_TIME: Tag
[src]
pub const POS_BIGNUM: Tag
[src]
pub const NEG_BIGNUM: Tag
[src]
pub const DECIMAL_FRACTION: Tag
[src]
pub const BIGFLOAT: Tag
[src]
pub const EXPECT_BASE64URL: Tag
[src]
pub const EXPECT_BASE64: Tag
[src]
pub const EXPECT_BASE16: Tag
[src]
pub const CBOR_DATA: Tag
[src]
pub const URI: Tag
[src]
pub const BASE64URL: Tag
[src]
pub const BASE64: Tag
[src]
pub const REGEXP: Tag
[src]
pub const MIME: Tag
[src]
pub const SELF_DESC_CBOR: Tag
[src]
impl Tag
[src]
Trait Implementations
impl Clone for Tag
[src]
impl Copy for Tag
[src]
impl Debug for Tag
[src]
impl PartialEq<Tag> for Tag
[src]
impl StructuralPartialEq for Tag
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tag
[src]
impl Send for Tag
[src]
impl Sync for Tag
[src]
impl Unpin for Tag
[src]
impl UnwindSafe for Tag
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,