pub struct ListFineTuningEventsQueryArgs { /* private fields */ }Available on crate feature
finetuning-types only.Expand description
Builder for ListFineTuningEventsQuery.
Implementations§
Source§impl ListFineTuningEventsQueryArgs
impl ListFineTuningEventsQueryArgs
Sourcepub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identifier for the last event from the previous pagination request.
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Number of events to retrieve.
Sourcepub fn order<VALUE: Into<ListFineTuningEventsOrder>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn order<VALUE: Into<ListFineTuningEventsOrder>>( &mut self, value: VALUE, ) -> &mut Self
Sort order for events by timestamp. Use asc for ascending order or desc for descending
order. Defaults to asc.
Sourcepub fn build(&self) -> Result<ListFineTuningEventsQuery, OpenAIError>
pub fn build(&self) -> Result<ListFineTuningEventsQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for ListFineTuningEventsQueryArgs
impl Clone for ListFineTuningEventsQueryArgs
Source§fn clone(&self) -> ListFineTuningEventsQueryArgs
fn clone(&self) -> ListFineTuningEventsQueryArgs
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 moreAuto Trait Implementations§
impl Freeze for ListFineTuningEventsQueryArgs
impl RefUnwindSafe for ListFineTuningEventsQueryArgs
impl Send for ListFineTuningEventsQueryArgs
impl Sync for ListFineTuningEventsQueryArgs
impl Unpin for ListFineTuningEventsQueryArgs
impl UnsafeUnpin for ListFineTuningEventsQueryArgs
impl UnwindSafe for ListFineTuningEventsQueryArgs
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