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