pub enum GuardrailStatus {
Enabled,
Disabled,
Shadow,
Testing,
Deprecated,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GuardrailStatus
impl Clone for GuardrailStatus
Source§fn clone(&self) -> GuardrailStatus
fn clone(&self) -> GuardrailStatus
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 moreSource§impl Debug for GuardrailStatus
impl Debug for GuardrailStatus
Source§impl Display for GuardrailStatus
impl Display for GuardrailStatus
Source§impl FromStr for GuardrailStatus
impl FromStr for GuardrailStatus
Source§type Err = GuardrailError
type Err = GuardrailError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<GuardrailStatus, <GuardrailStatus as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GuardrailStatus, <GuardrailStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GuardrailStatus
impl Hash for GuardrailStatus
Source§impl Ord for GuardrailStatus
impl Ord for GuardrailStatus
Source§fn cmp(&self, other: &GuardrailStatus) -> Ordering
fn cmp(&self, other: &GuardrailStatus) -> 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 GuardrailStatus
impl PartialEq for GuardrailStatus
Source§fn eq(&self, other: &GuardrailStatus) -> bool
fn eq(&self, other: &GuardrailStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GuardrailStatus
impl PartialOrd for GuardrailStatus
impl Copy for GuardrailStatus
impl Eq for GuardrailStatus
impl StructuralPartialEq for GuardrailStatus
Auto Trait Implementations§
impl Freeze for GuardrailStatus
impl RefUnwindSafe for GuardrailStatus
impl Send for GuardrailStatus
impl Sync for GuardrailStatus
impl Unpin for GuardrailStatus
impl UnsafeUnpin for GuardrailStatus
impl UnwindSafe for GuardrailStatus
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