#[non_exhaustive]pub struct EventFilterKeys {
pub category: EventCategory,
pub severity: EventSeverity,
pub workflow_id: Option<String>,
pub subject_kind: EventSubjectKind,
pub subject_name: String,
pub actor: Option<String>,
pub surface: Option<String>,
}Expand description
Filter keys that can be derived from a canonical event alone.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.category: EventCategoryEvent category derived from the payload.
severity: EventSeverityEvent severity derived from the payload.
workflow_id: Option<String>Workflow identifier if the event was workflow-scoped.
subject_kind: EventSubjectKindKind of the primary event subject.
subject_name: StringName of the primary event subject.
actor: Option<String>Actor label from the workflow context.
surface: Option<String>Originating surface label from the workflow context.
Trait Implementations§
Source§impl Clone for EventFilterKeys
impl Clone for EventFilterKeys
Source§impl Debug for EventFilterKeys
impl Debug for EventFilterKeys
Source§impl<'de> Deserialize<'de> for EventFilterKeys
impl<'de> Deserialize<'de> for EventFilterKeys
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
impl Eq for EventFilterKeys
Source§impl PartialEq for EventFilterKeys
impl PartialEq for EventFilterKeys
Source§impl Serialize for EventFilterKeys
impl Serialize for EventFilterKeys
impl StructuralPartialEq for EventFilterKeys
Auto Trait Implementations§
impl Freeze for EventFilterKeys
impl RefUnwindSafe for EventFilterKeys
impl Send for EventFilterKeys
impl Sync for EventFilterKeys
impl Unpin for EventFilterKeys
impl UnsafeUnpin for EventFilterKeys
impl UnwindSafe for EventFilterKeys
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