#[repr(i32)]pub enum ValidationLiveness {
Live = 0,
PostConfirmation = 1,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ValidationLiveness
impl Clone for ValidationLiveness
source§fn clone(&self) -> ValidationLiveness
fn clone(&self) -> ValidationLiveness
Returns a copy 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 ValidationLiveness
impl Debug for ValidationLiveness
source§impl Default for ValidationLiveness
impl Default for ValidationLiveness
source§fn default() -> ValidationLiveness
fn default() -> ValidationLiveness
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ValidationLiveness
impl<'de> Deserialize<'de> for ValidationLiveness
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<ValidationLiveness> for i32
impl From<ValidationLiveness> for i32
source§fn from(value: ValidationLiveness) -> i32
fn from(value: ValidationLiveness) -> i32
Converts to this type from the input type.
source§impl FromStr for ValidationLiveness
impl FromStr for ValidationLiveness
source§impl Hash for ValidationLiveness
impl Hash for ValidationLiveness
source§impl IntoEnumIterator for ValidationLiveness
impl IntoEnumIterator for ValidationLiveness
type Iterator = ValidationLivenessIter
fn iter() -> ValidationLivenessIter ⓘ
source§impl Ord for ValidationLiveness
impl Ord for ValidationLiveness
source§fn cmp(&self, other: &ValidationLiveness) -> Ordering
fn cmp(&self, other: &ValidationLiveness) -> 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 ValidationLiveness
impl PartialEq for ValidationLiveness
source§fn eq(&self, other: &ValidationLiveness) -> bool
fn eq(&self, other: &ValidationLiveness) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ValidationLiveness
impl PartialOrd for ValidationLiveness
source§fn partial_cmp(&self, other: &ValidationLiveness) -> Option<Ordering>
fn partial_cmp(&self, other: &ValidationLiveness) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ValidationLiveness
impl Serialize for ValidationLiveness
source§impl TryFrom<&str> for ValidationLiveness
impl TryFrom<&str> for ValidationLiveness
impl Copy for ValidationLiveness
impl Eq for ValidationLiveness
impl StructuralEq for ValidationLiveness
impl StructuralPartialEq for ValidationLiveness
Auto Trait Implementations§
impl RefUnwindSafe for ValidationLiveness
impl Send for ValidationLiveness
impl Sync for ValidationLiveness
impl Unpin for ValidationLiveness
impl UnwindSafe for ValidationLiveness
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