#[non_exhaustive]pub struct EventSystemAttributes {
pub category: Option<EventSystemAttributesCategory>,
pub id: Option<String>,
pub integration_id: Option<EventSystemAttributesIntegrationId>,
pub source_id: Option<i64>,
pub uid: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
JSON object of event system attributes.
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: Option<EventSystemAttributesCategory>
Event category identifying the type of event.
id: Option<String>
Event identifier. This field is deprecated and will be removed in a future version. Use the uid
field instead.
integration_id: Option<EventSystemAttributesIntegrationId>
Integration ID sourced from integration manifests.
source_id: Option<i64>
The source type ID of the event.
uid: Option<String>
A unique identifier for the event. You can use this identifier to query or reference the event.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl EventSystemAttributes
impl EventSystemAttributes
pub fn new() -> EventSystemAttributes
pub fn category(self, value: EventSystemAttributesCategory) -> Self
pub fn id(self, value: String) -> Self
pub fn integration_id(self, value: EventSystemAttributesIntegrationId) -> Self
pub fn source_id(self, value: i64) -> Self
pub fn uid(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for EventSystemAttributes
impl Clone for EventSystemAttributes
Source§fn clone(&self) -> EventSystemAttributes
fn clone(&self) -> EventSystemAttributes
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 EventSystemAttributes
impl Debug for EventSystemAttributes
Source§impl Default for EventSystemAttributes
impl Default for EventSystemAttributes
Source§impl<'de> Deserialize<'de> for EventSystemAttributes
impl<'de> Deserialize<'de> for EventSystemAttributes
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 EventSystemAttributes
impl PartialEq for EventSystemAttributes
Source§impl Serialize for EventSystemAttributes
impl Serialize for EventSystemAttributes
impl StructuralPartialEq for EventSystemAttributes
Auto Trait Implementations§
impl Freeze for EventSystemAttributes
impl RefUnwindSafe for EventSystemAttributes
impl Send for EventSystemAttributes
impl Sync for EventSystemAttributes
impl Unpin for EventSystemAttributes
impl UnwindSafe for EventSystemAttributes
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