Enum cloudevents::event::AttributeValue [−][src]
pub enum AttributeValue<'a> { SpecVersion(SpecVersion), String(&'a str), URI(&'a Url), URIRef(&'a UriReference), Boolean(&'a bool), Integer(&'a i64), Time(&'a DateTime<Utc>), }
Expand description
Enum representing a borrowed value of a CloudEvent attribute. This represents the types defined in the CloudEvent spec type system
Variants
SpecVersion(SpecVersion)
String(&'a str)
URI(&'a Url)
URIRef(&'a UriReference)
Boolean(&'a bool)
Integer(&'a i64)
Trait Implementations
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<'a> RefUnwindSafe for AttributeValue<'a>
impl<'a> Send for AttributeValue<'a>
impl<'a> Sync for AttributeValue<'a>
impl<'a> Unpin for AttributeValue<'a>
impl<'a> UnwindSafe for AttributeValue<'a>