Enum redis::NumericBehavior [−][src]
pub enum NumericBehavior {
NonNumeric,
NumberIsInteger,
NumberIsFloat,
}Helper enum that is used in some situations to describe the behavior of arguments in a numeric context.
Variants
NonNumericNumberIsIntegerNumberIsFloatTrait Implementations
impl PartialEq for NumericBehavior[src]
impl PartialEq for NumericBehaviorfn eq(&self, other: &NumericBehavior) -> bool[src]
fn eq(&self, other: &NumericBehavior) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for NumericBehavior[src]
impl Eq for NumericBehaviorimpl Clone for NumericBehavior[src]
impl Clone for NumericBehaviorfn clone(&self) -> NumericBehavior[src]
fn clone(&self) -> NumericBehaviorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for NumericBehavior[src]
impl Debug for NumericBehaviorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for NumericBehavior[src]
impl Copy for NumericBehaviorAuto Trait Implementations
impl Send for NumericBehavior
impl Send for NumericBehaviorimpl Sync for NumericBehavior
impl Sync for NumericBehavior