pub struct WebhookEvalRunCanceled {
pub created_at: i64,
pub id: String,
pub data: WebhookEvalRunCanceledData,
pub object: Option<WebhookEvalRunCanceledObject>,
}
Expand description
Sent when an eval run has been canceled.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the eval run was canceled.
id: String
The unique ID of the event.
data: WebhookEvalRunCanceledData
Event data payload.
object: Option<WebhookEvalRunCanceledObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookEvalRunCanceled
impl WebhookEvalRunCanceled
Sourcepub fn builder() -> WebhookEvalRunCanceledBuilder<((), (), (), ())>
pub fn builder() -> WebhookEvalRunCanceledBuilder<((), (), (), ())>
Create a builder for building WebhookEvalRunCanceled
.
On the builder, call .created_at(...)
, .id(...)
, .data(...)
, .object(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of WebhookEvalRunCanceled
.
Trait Implementations§
Source§impl Clone for WebhookEvalRunCanceled
impl Clone for WebhookEvalRunCanceled
Source§fn clone(&self) -> WebhookEvalRunCanceled
fn clone(&self) -> WebhookEvalRunCanceled
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhookEvalRunCanceled
impl Debug for WebhookEvalRunCanceled
Source§impl<'de> Deserialize<'de> for WebhookEvalRunCanceled
impl<'de> Deserialize<'de> for WebhookEvalRunCanceled
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 WebhookEvalRunCanceled
impl PartialEq for WebhookEvalRunCanceled
Source§fn eq(&self, other: &WebhookEvalRunCanceled) -> bool
fn eq(&self, other: &WebhookEvalRunCanceled) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for WebhookEvalRunCanceled
impl Serialize for WebhookEvalRunCanceled
impl StructuralPartialEq for WebhookEvalRunCanceled
Auto Trait Implementations§
impl Freeze for WebhookEvalRunCanceled
impl RefUnwindSafe for WebhookEvalRunCanceled
impl Send for WebhookEvalRunCanceled
impl Sync for WebhookEvalRunCanceled
impl Unpin for WebhookEvalRunCanceled
impl UnwindSafe for WebhookEvalRunCanceled
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