pub struct WebhookEvalRunFailed {
pub created_at: i64,
pub id: String,
pub data: WebhookEvalRunFailedData,
pub object: Option<WebhookEvalRunFailedObject>,
}
Expand description
Sent when an eval run has failed.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the eval run failed.
id: String
The unique ID of the event.
data: WebhookEvalRunFailedData
Event data payload.
object: Option<WebhookEvalRunFailedObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookEvalRunFailed
impl WebhookEvalRunFailed
Sourcepub fn builder() -> WebhookEvalRunFailedBuilder<((), (), (), ())>
pub fn builder() -> WebhookEvalRunFailedBuilder<((), (), (), ())>
Create a builder for building WebhookEvalRunFailed
.
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 WebhookEvalRunFailed
.
Trait Implementations§
Source§impl Clone for WebhookEvalRunFailed
impl Clone for WebhookEvalRunFailed
Source§fn clone(&self) -> WebhookEvalRunFailed
fn clone(&self) -> WebhookEvalRunFailed
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 WebhookEvalRunFailed
impl Debug for WebhookEvalRunFailed
Source§impl<'de> Deserialize<'de> for WebhookEvalRunFailed
impl<'de> Deserialize<'de> for WebhookEvalRunFailed
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 WebhookEvalRunFailed
impl PartialEq for WebhookEvalRunFailed
Source§impl Serialize for WebhookEvalRunFailed
impl Serialize for WebhookEvalRunFailed
impl StructuralPartialEq for WebhookEvalRunFailed
Auto Trait Implementations§
impl Freeze for WebhookEvalRunFailed
impl RefUnwindSafe for WebhookEvalRunFailed
impl Send for WebhookEvalRunFailed
impl Sync for WebhookEvalRunFailed
impl Unpin for WebhookEvalRunFailed
impl UnwindSafe for WebhookEvalRunFailed
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