pub enum ResponseIncompleteDetailsReason {
MaxOutputTokens,
ContentFilter,
}Expand description
The reason why the response is incomplete.
JSON schema
{
"description": "The reason why the response is incomplete.",
"type": "string",
"enum": [
"max_output_tokens",
"content_filter"
]
}Variants§
Trait Implementations§
Source§impl Clone for ResponseIncompleteDetailsReason
impl Clone for ResponseIncompleteDetailsReason
Source§fn clone(&self) -> ResponseIncompleteDetailsReason
fn clone(&self) -> ResponseIncompleteDetailsReason
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 ResponseIncompleteDetailsReason
Source§impl<'de> Deserialize<'de> for ResponseIncompleteDetailsReason
impl<'de> Deserialize<'de> for ResponseIncompleteDetailsReason
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 ResponseIncompleteDetailsReason
Source§impl Ord for ResponseIncompleteDetailsReason
impl Ord for ResponseIncompleteDetailsReason
Source§fn cmp(&self, other: &ResponseIncompleteDetailsReason) -> Ordering
fn cmp(&self, other: &ResponseIncompleteDetailsReason) -> 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
Source§impl PartialOrd for ResponseIncompleteDetailsReason
impl PartialOrd for ResponseIncompleteDetailsReason
impl StructuralPartialEq for ResponseIncompleteDetailsReason
Source§impl TryFrom<&String> for ResponseIncompleteDetailsReason
impl TryFrom<&String> for ResponseIncompleteDetailsReason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResponseIncompleteDetailsReason
impl TryFrom<&str> for ResponseIncompleteDetailsReason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResponseIncompleteDetailsReason
impl TryFrom<String> for ResponseIncompleteDetailsReason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ResponseIncompleteDetailsReason
impl RefUnwindSafe for ResponseIncompleteDetailsReason
impl Send for ResponseIncompleteDetailsReason
impl Sync for ResponseIncompleteDetailsReason
impl Unpin for ResponseIncompleteDetailsReason
impl UnsafeUnpin for ResponseIncompleteDetailsReason
impl UnwindSafe for ResponseIncompleteDetailsReason
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