pub struct EventPattern {
pub id: String,
pub event_name: String,
pub event_properties: Vec<WorkflowEventProperty>,
pub incoming_webhook_platform: Option<IncomingWebhookPlatform>,
}Fields§
§id: String§event_name: StringThe name of the event pattern. Use this when sending events with the API.
event_properties: Vec<WorkflowEventProperty>The properties of the event pattern, which can be used in emails.
incoming_webhook_platform: Option<IncomingWebhookPlatform>The platform that sent this event pattern, if the event pattern is from an incoming webhook. Will be null for custom events.
Trait Implementations§
Source§impl Clone for EventPattern
impl Clone for EventPattern
Source§impl Debug for EventPattern
impl Debug for EventPattern
Source§impl Default for EventPattern
impl Default for EventPattern
Source§impl<'de> Deserialize<'de> for EventPattern
impl<'de> Deserialize<'de> for EventPattern
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 EventPattern
impl PartialEq for EventPattern
impl StructuralPartialEq for EventPattern
Auto Trait Implementations§
impl Freeze for EventPattern
impl RefUnwindSafe for EventPattern
impl Send for EventPattern
impl Sync for EventPattern
impl Unpin for EventPattern
impl UnsafeUnpin for EventPattern
impl UnwindSafe for EventPattern
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