#[non_exhaustive]pub enum EventPayloadAttributes {
ChangeEventCustomAttributes(Box<ChangeEventCustomAttributes>),
AlertEventCustomAttributes(Box<AlertEventCustomAttributes>),
UnparsedObject(UnparsedObject),
}
Expand description
JSON object for category-specific attributes. Schema is different per event category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ChangeEventCustomAttributes(Box<ChangeEventCustomAttributes>)
AlertEventCustomAttributes(Box<AlertEventCustomAttributes>)
UnparsedObject(UnparsedObject)
Trait Implementations§
Source§impl Clone for EventPayloadAttributes
impl Clone for EventPayloadAttributes
Source§fn clone(&self) -> EventPayloadAttributes
fn clone(&self) -> EventPayloadAttributes
Returns a duplicate 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 EventPayloadAttributes
impl Debug for EventPayloadAttributes
Source§impl<'de> Deserialize<'de> for EventPayloadAttributes
impl<'de> Deserialize<'de> for EventPayloadAttributes
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventPayloadAttributes
impl PartialEq for EventPayloadAttributes
Source§impl Serialize for EventPayloadAttributes
impl Serialize for EventPayloadAttributes
impl StructuralPartialEq for EventPayloadAttributes
Auto Trait Implementations§
impl Freeze for EventPayloadAttributes
impl RefUnwindSafe for EventPayloadAttributes
impl Send for EventPayloadAttributes
impl Sync for EventPayloadAttributes
impl Unpin for EventPayloadAttributes
impl UnwindSafe for EventPayloadAttributes
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