pub struct TranscriptPrompt {
pub id: Option<String>,
pub prompt: Prompt,
pub options: GenerationOptions,
pub response_format: Option<ResponseFormat>,
}Expand description
A user-prompt transcript entry.
Fields§
§id: Option<String>§prompt: Prompt§options: GenerationOptions§response_format: Option<ResponseFormat>Implementations§
Trait Implementations§
Source§impl Clone for TranscriptPrompt
impl Clone for TranscriptPrompt
Source§fn clone(&self) -> TranscriptPrompt
fn clone(&self) -> TranscriptPrompt
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 Debug for TranscriptPrompt
impl Debug for TranscriptPrompt
Source§impl PartialEq for TranscriptPrompt
impl PartialEq for TranscriptPrompt
Source§fn eq(&self, other: &TranscriptPrompt) -> bool
fn eq(&self, other: &TranscriptPrompt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscriptPrompt
Auto Trait Implementations§
impl Freeze for TranscriptPrompt
impl RefUnwindSafe for TranscriptPrompt
impl Send for TranscriptPrompt
impl Sync for TranscriptPrompt
impl Unpin for TranscriptPrompt
impl UnsafeUnpin for TranscriptPrompt
impl UnwindSafe for TranscriptPrompt
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