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)
Binary(Vec<u8>)
Uri(Url)
UriRef(UriReference)
DateTime(DateTime<Utc>)
Trait Implementations§
source§impl Clone for MessageAttributeValue
impl Clone for MessageAttributeValue
source§fn clone(&self) -> MessageAttributeValue
fn clone(&self) -> MessageAttributeValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageAttributeValue
impl Debug for MessageAttributeValue
source§impl Display for MessageAttributeValue
impl Display for MessageAttributeValue
source§impl From<ExtensionValue> for MessageAttributeValue
impl From<ExtensionValue> for MessageAttributeValue
source§fn from(that: ExtensionValue) -> Self
fn from(that: ExtensionValue) -> Self
Converts to this type from the input type.
source§impl From<MessageAttributeValue> for ExtensionValue
impl From<MessageAttributeValue> for ExtensionValue
source§fn from(that: MessageAttributeValue) -> Self
fn from(that: MessageAttributeValue) -> Self
Converts to this type from the input type.
source§impl PartialEq for MessageAttributeValue
impl PartialEq for MessageAttributeValue
source§impl TryInto<Url> for MessageAttributeValue
impl TryInto<Url> for MessageAttributeValue
impl Eq for MessageAttributeValue
impl StructuralPartialEq for MessageAttributeValue
Auto Trait Implementations§
impl Freeze for MessageAttributeValue
impl RefUnwindSafe for MessageAttributeValue
impl Send for MessageAttributeValue
impl Sync for MessageAttributeValue
impl Unpin for MessageAttributeValue
impl UnwindSafe for MessageAttributeValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)