pub enum ModelFinish {
Stop,
ToolCalls,
Length,
ContentFilter,
Other,
}Variants§
Implementations§
Source§impl ModelFinish
impl ModelFinish
pub fn is_complete(self) -> bool
Trait Implementations§
Source§impl Clone for ModelFinish
impl Clone for ModelFinish
Source§fn clone(&self) -> ModelFinish
fn clone(&self) -> ModelFinish
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 moreimpl Copy for ModelFinish
Source§impl Debug for ModelFinish
impl Debug for ModelFinish
Source§impl<'de> Deserialize<'de> for ModelFinish
impl<'de> Deserialize<'de> for ModelFinish
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 Eq for ModelFinish
Source§impl PartialEq for ModelFinish
impl PartialEq for ModelFinish
Source§impl Serialize for ModelFinish
impl Serialize for ModelFinish
impl StructuralPartialEq for ModelFinish
Auto Trait Implementations§
impl Freeze for ModelFinish
impl RefUnwindSafe for ModelFinish
impl Send for ModelFinish
impl Sync for ModelFinish
impl Unpin for ModelFinish
impl UnsafeUnpin for ModelFinish
impl UnwindSafe for ModelFinish
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