pub struct CreateCompletionRequestStop {}
Expand description
CreateCompletionRequestStop : Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
Implementations§
Source§impl CreateCompletionRequestStop
impl CreateCompletionRequestStop
Sourcepub fn new() -> CreateCompletionRequestStop
pub fn new() -> CreateCompletionRequestStop
Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
Trait Implementations§
Source§impl Clone for CreateCompletionRequestStop
impl Clone for CreateCompletionRequestStop
Source§fn clone(&self) -> CreateCompletionRequestStop
fn clone(&self) -> CreateCompletionRequestStop
Returns a copy 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 CreateCompletionRequestStop
impl Debug for CreateCompletionRequestStop
Source§impl Default for CreateCompletionRequestStop
impl Default for CreateCompletionRequestStop
Source§fn default() -> CreateCompletionRequestStop
fn default() -> CreateCompletionRequestStop
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCompletionRequestStop
impl<'de> Deserialize<'de> for CreateCompletionRequestStop
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 CreateCompletionRequestStop
Auto Trait Implementations§
impl Freeze for CreateCompletionRequestStop
impl RefUnwindSafe for CreateCompletionRequestStop
impl Send for CreateCompletionRequestStop
impl Sync for CreateCompletionRequestStop
impl Unpin for CreateCompletionRequestStop
impl UnwindSafe for CreateCompletionRequestStop
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