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