pub struct Number { /* private fields */ }
Expand description
Represents a Pop3 number data type.
Get its real value by calling value()
from the DataType trait
Trait Implementations§
source§impl DataType<usize> for Number
impl DataType<usize> for Number
source§fn as_str_lossy(&self) -> Cow<'_, str>
fn as_str_lossy(&self) -> Cow<'_, str>
Get the value as a raw string in lossless fashion, before actual parsing.
source§impl Ord for Number
impl Ord for Number
source§impl PartialEq<Number> for Number
impl PartialEq<Number> for Number
source§impl PartialOrd<Number> for Number
impl PartialOrd<Number> for Number
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 moreimpl Eq for Number
impl StructuralEq for Number
impl StructuralPartialEq for Number
Auto Trait Implementations§
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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