pub enum IntentStatus {
Dismissed,
Executed,
Expired,
Failed,
Pending,
Processing,
Rejected,
}Expand description
Current status of an intent.
JSON schema
{
"title": "IntentStatus",
"description": "Current status of an intent.",
"type": "string",
"enum": [
"dismissed",
"executed",
"expired",
"failed",
"pending",
"processing",
"rejected"
],
"x-stainless-model": "intents.intent_status"
}Variants§
Trait Implementations§
Source§impl Clone for IntentStatus
impl Clone for IntentStatus
Source§fn clone(&self) -> IntentStatus
fn clone(&self) -> IntentStatus
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 IntentStatus
Source§impl Debug for IntentStatus
impl Debug for IntentStatus
Source§impl<'de> Deserialize<'de> for IntentStatus
impl<'de> Deserialize<'de> for IntentStatus
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 IntentStatus
impl Display for IntentStatus
impl Eq for IntentStatus
Source§impl From<&IntentStatus> for IntentStatus
impl From<&IntentStatus> for IntentStatus
Source§fn from(value: &IntentStatus) -> Self
fn from(value: &IntentStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for IntentStatus
impl FromStr for IntentStatus
Source§impl Hash for IntentStatus
impl Hash for IntentStatus
Source§impl Ord for IntentStatus
impl Ord for IntentStatus
Source§fn cmp(&self, other: &IntentStatus) -> Ordering
fn cmp(&self, other: &IntentStatus) -> 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 IntentStatus
impl PartialEq for IntentStatus
Source§fn eq(&self, other: &IntentStatus) -> bool
fn eq(&self, other: &IntentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IntentStatus
impl PartialOrd for IntentStatus
Source§impl Serialize for IntentStatus
impl Serialize for IntentStatus
impl StructuralPartialEq for IntentStatus
Source§impl TryFrom<&String> for IntentStatus
impl TryFrom<&String> for IntentStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for IntentStatus
impl TryFrom<&str> for IntentStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for IntentStatus
impl TryFrom<String> for IntentStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for IntentStatus
impl RefUnwindSafe for IntentStatus
impl Send for IntentStatus
impl Sync for IntentStatus
impl Unpin for IntentStatus
impl UnsafeUnpin for IntentStatus
impl UnwindSafe for IntentStatus
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