EventId

Trait EventId 

Source
pub trait EventId {
    // Required method
    fn event_id(&self) -> &str;
}
Available on crate feature _api only.
Expand description

Trait for events to get their event ID.

Required Methods§

Source

fn event_id(&self) -> &str

Returns the event ID

Implementors§

Source§

impl EventId for WebhookEvent

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookBatchCancelled

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookBatchCompleted

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookBatchExpired

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookBatchFailed

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookEvalRunCanceled

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookEvalRunFailed

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookEvalRunSucceeded

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookFineTuningJobCancelled

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookFineTuningJobFailed

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookFineTuningJobSucceeded

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookRealtimeCallIncoming

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookResponseCancelled

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookResponseCompleted

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookResponseFailed

Available on crate feature webhook-types only.
Source§

impl EventId for WebhookResponseIncomplete

Available on crate feature webhook-types only.