pub struct WebhookFineTuningJobCancelled {
pub created_at: i64,
pub id: String,
pub data: Data,
pub object: Option<Object>,
}Expand description
Sent when a fine-tuning job has been cancelled.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the fine-tuning job was cancelled.
id: StringThe unique ID of the event.
data: DataEvent data payload.
object: Option<Object>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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
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
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 UnsafeUnpin 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