Enum abci::types::CheckTxType
source · [−]#[repr(i32)]
pub enum CheckTxType {
New,
Recheck,
}
Variants
New
Recheck
Implementations
sourceimpl CheckTxType
impl CheckTxType
sourceimpl CheckTxType
impl CheckTxType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations
sourceimpl Clone for CheckTxType
impl Clone for CheckTxType
sourcefn clone(&self) -> CheckTxType
fn clone(&self) -> CheckTxType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CheckTxType
impl Debug for CheckTxType
sourceimpl Default for CheckTxType
impl Default for CheckTxType
sourcefn default() -> CheckTxType
fn default() -> CheckTxType
Returns the “default value” for a type. Read more
sourceimpl Hash for CheckTxType
impl Hash for CheckTxType
sourceimpl Ord for CheckTxType
impl Ord for CheckTxType
sourcefn cmp(&self, other: &CheckTxType) -> Ordering
fn cmp(&self, other: &CheckTxType) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CheckTxType> for CheckTxType
impl PartialEq<CheckTxType> for CheckTxType
sourcefn eq(&self, other: &CheckTxType) -> bool
fn eq(&self, other: &CheckTxType) -> bool
sourceimpl PartialOrd<CheckTxType> for CheckTxType
impl PartialOrd<CheckTxType> for CheckTxType
sourcefn partial_cmp(&self, other: &CheckTxType) -> Option<Ordering>
fn partial_cmp(&self, other: &CheckTxType) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl Copy for CheckTxType
impl Eq for CheckTxType
impl StructuralEq for CheckTxType
impl StructuralPartialEq for CheckTxType
Auto Trait Implementations
impl RefUnwindSafe for CheckTxType
impl Send for CheckTxType
impl Sync for CheckTxType
impl Unpin for CheckTxType
impl UnwindSafe for CheckTxType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more