Enum cloudevents::message::MessageAttributeValue [−][src]
pub enum MessageAttributeValue {
Boolean(bool),
Integer(i64),
String(String),
Binary(Vec<u8>),
Uri(Url),
UriRef(UriReference),
DateTime(DateTime<Utc>),
}Expand description
Union type representing a CloudEvent context attribute type.
Variants
Boolean(bool)Integer(i64)String(String)Uri(Url)UriRef(UriReference)Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MessageAttributeValueimpl Send for MessageAttributeValueimpl Sync for MessageAttributeValueimpl Unpin for MessageAttributeValueimpl UnwindSafe for MessageAttributeValueBlanket Implementations
Mutably borrows from an owned value. Read more