pub enum RunOutcome {
Success,
Failure,
}Expand description
Outcome of a reported backup or restore run.
JSON schema
{
"description": "Outcome of a reported backup or restore run.",
"type": "string",
"enum": [
"success",
"failure"
]
}Variants§
Trait Implementations§
Source§impl Clone for RunOutcome
impl Clone for RunOutcome
Source§fn clone(&self) -> RunOutcome
fn clone(&self) -> RunOutcome
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 RunOutcome
Source§impl Debug for RunOutcome
impl Debug for RunOutcome
Source§impl<'de> Deserialize<'de> for RunOutcome
impl<'de> Deserialize<'de> for RunOutcome
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 RunOutcome
impl Display for RunOutcome
impl Eq for RunOutcome
Source§impl FromStr for RunOutcome
impl FromStr for RunOutcome
Source§impl Hash for RunOutcome
impl Hash for RunOutcome
Source§impl Ord for RunOutcome
impl Ord for RunOutcome
Source§fn cmp(&self, other: &RunOutcome) -> Ordering
fn cmp(&self, other: &RunOutcome) -> 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 PartialEq for RunOutcome
impl PartialEq for RunOutcome
Source§impl PartialOrd for RunOutcome
impl PartialOrd for RunOutcome
Source§impl Serialize for RunOutcome
impl Serialize for RunOutcome
impl StructuralPartialEq for RunOutcome
Source§impl TryFrom<&String> for RunOutcome
impl TryFrom<&String> for RunOutcome
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for RunOutcome
impl TryFrom<&str> for RunOutcome
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for RunOutcome
impl TryFrom<String> for RunOutcome
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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