pub struct FineTuningJobEvent {
pub id: String,
pub created_at: u64,
pub level: FineTuningJobEventLevel,
pub message: String,
pub type_: Option<FineTuningJobEventType>,
pub data: Option<HashMap<String, Value>>,
}
Expand description
Fine-tuning job event object
Fields§
§id: String
The object identifier.
created_at: u64
The Unix timestamp (in seconds) for when the fine-tuning job was created.
level: FineTuningJobEventLevel
The log level of the event.
message: String
The message of the event.
type_: Option<FineTuningJobEventType>
The type of event.
data: Option<HashMap<String, Value>>
The data associated with the event.
Implementations§
Source§impl FineTuningJobEvent
impl FineTuningJobEvent
Sourcepub fn builder() -> FineTuningJobEventBuilder<((), (), (), (), (), ())>
pub fn builder() -> FineTuningJobEventBuilder<((), (), (), (), (), ())>
Create a builder for building FineTuningJobEvent
.
On the builder, call .id(...)
, .created_at(...)
, .level(...)
, .message(...)
, .type_(...)
(optional), .data(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of FineTuningJobEvent
.
Trait Implementations§
Source§impl Clone for FineTuningJobEvent
impl Clone for FineTuningJobEvent
Source§fn clone(&self) -> FineTuningJobEvent
fn clone(&self) -> FineTuningJobEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FineTuningJobEvent
impl Debug for FineTuningJobEvent
Source§impl<'de> Deserialize<'de> for FineTuningJobEvent
impl<'de> Deserialize<'de> for FineTuningJobEvent
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 FineTuningJobEvent
impl PartialEq for FineTuningJobEvent
Source§impl Serialize for FineTuningJobEvent
impl Serialize for FineTuningJobEvent
impl StructuralPartialEq for FineTuningJobEvent
Auto Trait Implementations§
impl Freeze for FineTuningJobEvent
impl RefUnwindSafe for FineTuningJobEvent
impl Send for FineTuningJobEvent
impl Sync for FineTuningJobEvent
impl Unpin for FineTuningJobEvent
impl UnwindSafe for FineTuningJobEvent
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