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
NonNumeric
NumberIsInteger
NumberIsFloat
Trait Implementations
impl PartialEq for NumericBehavior
[src]
impl PartialEq for NumericBehavior
fn eq(&self, other: &NumericBehavior) -> bool
[src]
fn eq(&self, other: &NumericBehavior) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for NumericBehavior
[src]
impl Eq for NumericBehavior
impl Clone for NumericBehavior
[src]
impl Clone for NumericBehavior
fn clone(&self) -> NumericBehavior
[src]
fn clone(&self) -> NumericBehavior
Returns 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 NumericBehavior
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for NumericBehavior
[src]
impl Copy for NumericBehavior
Auto Trait Implementations
impl Send for NumericBehavior
impl Send for NumericBehavior
impl Sync for NumericBehavior
impl Sync for NumericBehavior