pub struct WebhookFineTuningJobFailed {
pub created_at: i64,
pub id: String,
pub data: WebhookFineTuningJobFailedData,
pub object: Option<WebhookFineTuningJobFailedObject>,
}
Expand description
Sent when a fine-tuning job has failed.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the fine-tuning job failed.
id: String
The unique ID of the event.
data: WebhookFineTuningJobFailedData
Event data payload.
object: Option<WebhookFineTuningJobFailedObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookFineTuningJobFailed
impl WebhookFineTuningJobFailed
Sourcepub fn builder() -> WebhookFineTuningJobFailedBuilder<((), (), (), ())>
pub fn builder() -> WebhookFineTuningJobFailedBuilder<((), (), (), ())>
Create a builder for building WebhookFineTuningJobFailed
.
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 WebhookFineTuningJobFailed
.
Trait Implementations§
Source§impl Clone for WebhookFineTuningJobFailed
impl Clone for WebhookFineTuningJobFailed
Source§fn clone(&self) -> WebhookFineTuningJobFailed
fn clone(&self) -> WebhookFineTuningJobFailed
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 WebhookFineTuningJobFailed
impl Debug for WebhookFineTuningJobFailed
Source§impl<'de> Deserialize<'de> for WebhookFineTuningJobFailed
impl<'de> Deserialize<'de> for WebhookFineTuningJobFailed
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 WebhookFineTuningJobFailed
impl PartialEq for WebhookFineTuningJobFailed
Source§fn eq(&self, other: &WebhookFineTuningJobFailed) -> bool
fn eq(&self, other: &WebhookFineTuningJobFailed) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookFineTuningJobFailed
Auto Trait Implementations§
impl Freeze for WebhookFineTuningJobFailed
impl RefUnwindSafe for WebhookFineTuningJobFailed
impl Send for WebhookFineTuningJobFailed
impl Sync for WebhookFineTuningJobFailed
impl Unpin for WebhookFineTuningJobFailed
impl UnwindSafe for WebhookFineTuningJobFailed
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