pub enum ResponseStatus {
Completed,
Failed,
InProgress,
Cancelled,
Queued,
Incomplete,
}Expand description
The status of the response generation. One of completed, failed,
in_progress, cancelled, queued, or incomplete.
JSON schema
{
"description": "The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n",
"type": "string",
"enum": [
"completed",
"failed",
"in_progress",
"cancelled",
"queued",
"incomplete"
]
}Variants§
Trait Implementations§
Source§impl Clone for ResponseStatus
impl Clone for ResponseStatus
Source§fn clone(&self) -> ResponseStatus
fn clone(&self) -> ResponseStatus
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 ResponseStatus
Source§impl Debug for ResponseStatus
impl Debug for ResponseStatus
Source§impl<'de> Deserialize<'de> for ResponseStatus
impl<'de> Deserialize<'de> for ResponseStatus
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 ResponseStatus
impl Display for ResponseStatus
impl Eq for ResponseStatus
Source§impl FromStr for ResponseStatus
impl FromStr for ResponseStatus
Source§impl Hash for ResponseStatus
impl Hash for ResponseStatus
Source§impl Ord for ResponseStatus
impl Ord for ResponseStatus
Source§fn cmp(&self, other: &ResponseStatus) -> Ordering
fn cmp(&self, other: &ResponseStatus) -> 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 PartialEq for ResponseStatus
impl PartialEq for ResponseStatus
Source§impl PartialOrd for ResponseStatus
impl PartialOrd for ResponseStatus
Source§impl Serialize for ResponseStatus
impl Serialize for ResponseStatus
impl StructuralPartialEq for ResponseStatus
Source§impl TryFrom<&String> for ResponseStatus
impl TryFrom<&String> for ResponseStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResponseStatus
impl TryFrom<&str> for ResponseStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResponseStatus
impl TryFrom<String> for ResponseStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ResponseStatus
impl RefUnwindSafe for ResponseStatus
impl Send for ResponseStatus
impl Sync for ResponseStatus
impl Unpin for ResponseStatus
impl UnsafeUnpin for ResponseStatus
impl UnwindSafe for ResponseStatus
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