pub enum StopConfiguration {
String(String),
StringArray(Vec<String>),
}Available on crate feature
chat-completion-types only.Variants§
Trait Implementations§
Source§impl Clone for StopConfiguration
impl Clone for StopConfiguration
Source§fn clone(&self) -> StopConfiguration
fn clone(&self) -> StopConfiguration
Returns a duplicate 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 StopConfiguration
impl Debug for StopConfiguration
Source§impl<'de> Deserialize<'de> for StopConfiguration
impl<'de> Deserialize<'de> for StopConfiguration
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<const N: usize> From<&[&String; N]> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl<const N: usize> From<&[&String; N]> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl<const N: usize> From<&[&str; N]> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl<const N: usize> From<&[&str; N]> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl<const N: usize> From<&[String; N]> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl<const N: usize> From<&[String; N]> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<&String> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<&String> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<&Vec<&String>> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<&Vec<&String>> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<&Vec<&str>> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<&Vec<&str>> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<&Vec<String>> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<&Vec<String>> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<&str> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<&str> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl<const N: usize> From<[&String; N]> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl<const N: usize> From<[&String; N]> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl<const N: usize> From<[&str; N]> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl<const N: usize> From<[&str; N]> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl<const N: usize> From<[String; N]> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl<const N: usize> From<[String; N]> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<String> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<String> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<Vec<&String>> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<Vec<&String>> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<Vec<&str>> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<Vec<&str>> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl From<Vec<String>> for StopConfiguration
Available on crate features audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.
impl From<Vec<String>> for StopConfiguration
Available on crate features
audio-types or file-types or image-types or chat-completion-types or completion-types or embedding-types or moderation-types or video-types only.Source§impl PartialEq for StopConfiguration
impl PartialEq for StopConfiguration
Source§impl Serialize for StopConfiguration
impl Serialize for StopConfiguration
impl StructuralPartialEq for StopConfiguration
Auto Trait Implementations§
impl Freeze for StopConfiguration
impl RefUnwindSafe for StopConfiguration
impl Send for StopConfiguration
impl Sync for StopConfiguration
impl Unpin for StopConfiguration
impl UnwindSafe for StopConfiguration
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