pub enum StatusEventState {
Pending,
Success,
Failure,
Error,
}
Expand description
The new state. Can be pending
, success
, failure
, or error
.
JSON schema
{
"description": "The new state. Can be `pending`, `success`, `failure`, or `error`.",
"type": "string",
"enum": [
"pending",
"success",
"failure",
"error"
]
}
Variants§
Trait Implementations§
Source§impl Clone for StatusEventState
impl Clone for StatusEventState
Source§fn clone(&self) -> StatusEventState
fn clone(&self) -> StatusEventState
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 StatusEventState
impl Debug for StatusEventState
Source§impl<'de> Deserialize<'de> for StatusEventState
impl<'de> Deserialize<'de> for StatusEventState
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 From<&StatusEventState> for StatusEventState
impl From<&StatusEventState> for StatusEventState
Source§fn from(value: &StatusEventState) -> Self
fn from(value: &StatusEventState) -> Self
Converts to this type from the input type.
Source§impl FromStr for StatusEventState
impl FromStr for StatusEventState
Source§impl Hash for StatusEventState
impl Hash for StatusEventState
Source§impl Ord for StatusEventState
impl Ord for StatusEventState
Source§fn cmp(&self, other: &StatusEventState) -> Ordering
fn cmp(&self, other: &StatusEventState) -> Ordering
1.21.0 · 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 StatusEventState
impl PartialEq for StatusEventState
Source§impl PartialOrd for StatusEventState
impl PartialOrd for StatusEventState
Source§impl Serialize for StatusEventState
impl Serialize for StatusEventState
Source§impl ToString for StatusEventState
impl ToString for StatusEventState
Source§impl TryFrom<&String> for StatusEventState
impl TryFrom<&String> for StatusEventState
Source§impl TryFrom<&str> for StatusEventState
impl TryFrom<&str> for StatusEventState
Source§impl TryFrom<String> for StatusEventState
impl TryFrom<String> for StatusEventState
impl Copy for StatusEventState
impl Eq for StatusEventState
impl StructuralPartialEq for StatusEventState
Auto Trait Implementations§
impl Freeze for StatusEventState
impl RefUnwindSafe for StatusEventState
impl Send for StatusEventState
impl Sync for StatusEventState
impl Unpin for StatusEventState
impl UnwindSafe for StatusEventState
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