pub enum ResponseOutputMessageRole {
Assistant,
}Expand description
The role of the output message. Always assistant.
JSON schema
{
"description": "The role of the output message. Always `assistant`.",
"type": "string",
"enum": [
"assistant"
]
}Variants§
Assistant
Trait Implementations§
Source§impl Clone for ResponseOutputMessageRole
impl Clone for ResponseOutputMessageRole
Source§fn clone(&self) -> ResponseOutputMessageRole
fn clone(&self) -> ResponseOutputMessageRole
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 ResponseOutputMessageRole
Source§impl Debug for ResponseOutputMessageRole
impl Debug for ResponseOutputMessageRole
Source§impl<'de> Deserialize<'de> for ResponseOutputMessageRole
impl<'de> Deserialize<'de> for ResponseOutputMessageRole
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 Display for ResponseOutputMessageRole
impl Display for ResponseOutputMessageRole
impl Eq for ResponseOutputMessageRole
Source§impl FromStr for ResponseOutputMessageRole
impl FromStr for ResponseOutputMessageRole
Source§impl Hash for ResponseOutputMessageRole
impl Hash for ResponseOutputMessageRole
Source§impl Ord for ResponseOutputMessageRole
impl Ord for ResponseOutputMessageRole
Source§fn cmp(&self, other: &ResponseOutputMessageRole) -> Ordering
fn cmp(&self, other: &ResponseOutputMessageRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ResponseOutputMessageRole
impl PartialOrd for ResponseOutputMessageRole
impl StructuralPartialEq for ResponseOutputMessageRole
Source§impl TryFrom<&String> for ResponseOutputMessageRole
impl TryFrom<&String> for ResponseOutputMessageRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResponseOutputMessageRole
impl TryFrom<&str> for ResponseOutputMessageRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResponseOutputMessageRole
impl TryFrom<String> for ResponseOutputMessageRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ResponseOutputMessageRole
impl RefUnwindSafe for ResponseOutputMessageRole
impl Send for ResponseOutputMessageRole
impl Sync for ResponseOutputMessageRole
impl Unpin for ResponseOutputMessageRole
impl UnsafeUnpin for ResponseOutputMessageRole
impl UnwindSafe for ResponseOutputMessageRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.