pub struct CreateChatCompletionRequestStop {}
Expand description
CreateChatCompletionRequestStop : Up to 4 sequences where the API will stop generating further tokens.
Implementations§
Source§impl CreateChatCompletionRequestStop
impl CreateChatCompletionRequestStop
Sourcepub fn new() -> CreateChatCompletionRequestStop
pub fn new() -> CreateChatCompletionRequestStop
Up to 4 sequences where the API will stop generating further tokens.
Trait Implementations§
Source§impl Clone for CreateChatCompletionRequestStop
impl Clone for CreateChatCompletionRequestStop
Source§fn clone(&self) -> CreateChatCompletionRequestStop
fn clone(&self) -> CreateChatCompletionRequestStop
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 Default for CreateChatCompletionRequestStop
impl Default for CreateChatCompletionRequestStop
Source§fn default() -> CreateChatCompletionRequestStop
fn default() -> CreateChatCompletionRequestStop
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateChatCompletionRequestStop
impl<'de> Deserialize<'de> for CreateChatCompletionRequestStop
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 CreateChatCompletionRequestStop
impl PartialEq for CreateChatCompletionRequestStop
Source§fn eq(&self, other: &CreateChatCompletionRequestStop) -> bool
fn eq(&self, other: &CreateChatCompletionRequestStop) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateChatCompletionRequestStop
Auto Trait Implementations§
impl Freeze for CreateChatCompletionRequestStop
impl RefUnwindSafe for CreateChatCompletionRequestStop
impl Send for CreateChatCompletionRequestStop
impl Sync for CreateChatCompletionRequestStop
impl Unpin for CreateChatCompletionRequestStop
impl UnwindSafe for CreateChatCompletionRequestStop
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