Struct serde_with::CommaSeparator
source · pub struct CommaSeparator;
Expand description
Predefined separator using a single comma
Trait Implementations§
source§impl Clone for CommaSeparator
impl Clone for CommaSeparator
source§fn clone(&self) -> CommaSeparator
fn clone(&self) -> CommaSeparator
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 CommaSeparator
impl Debug for CommaSeparator
source§impl Default for CommaSeparator
impl Default for CommaSeparator
source§fn default() -> CommaSeparator
fn default() -> CommaSeparator
Returns the “default value” for a type. Read more
source§impl Hash for CommaSeparator
impl Hash for CommaSeparator
source§impl Ord for CommaSeparator
impl Ord for CommaSeparator
source§fn cmp(&self, other: &CommaSeparator) -> Ordering
fn cmp(&self, other: &CommaSeparator) -> 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 CommaSeparator
impl PartialEq for CommaSeparator
source§fn eq(&self, other: &CommaSeparator) -> bool
fn eq(&self, other: &CommaSeparator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CommaSeparator
impl PartialOrd for CommaSeparator
source§fn partial_cmp(&self, other: &CommaSeparator) -> Option<Ordering>
fn partial_cmp(&self, other: &CommaSeparator) -> 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 Separator for CommaSeparator
impl Separator for CommaSeparator
impl Copy for CommaSeparator
impl Eq for CommaSeparator
impl StructuralEq for CommaSeparator
impl StructuralPartialEq for CommaSeparator
Auto Trait Implementations§
impl RefUnwindSafe for CommaSeparator
impl Send for CommaSeparator
impl Sync for CommaSeparator
impl Unpin for CommaSeparator
impl UnwindSafe for CommaSeparator
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