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