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