[][src]Enum cloudevents::message::MessageAttributeValue

pub enum MessageAttributeValue {
    Boolean(bool),
    Integer(i64),
    String(String),
    Binary(Vec<u8>),
    Uri(Url),
    UriRef(Url),
    DateTime(DateTime<Utc>),
}

Union type representing a CloudEvent context attribute type.

Variants

Boolean(bool)
Integer(i64)
String(String)
Binary(Vec<u8>)
Uri(Url)
UriRef(Url)
DateTime(DateTime<Utc>)

Trait Implementations

impl Clone for MessageAttributeValue[src]

impl Debug for MessageAttributeValue[src]

impl Display for MessageAttributeValue[src]

impl Eq for MessageAttributeValue[src]

impl Into<ExtensionValue> for MessageAttributeValue[src]

impl Into<MessageAttributeValue> for ExtensionValue[src]

impl PartialEq<MessageAttributeValue> for MessageAttributeValue[src]

impl StructuralEq for MessageAttributeValue[src]

impl StructuralPartialEq for MessageAttributeValue[src]

impl TryInto<DateTime<Utc>> for MessageAttributeValue[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryInto<Url> for MessageAttributeValue[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.