Struct serde_with::formats::PreferMany
source · pub struct PreferMany;
Expand description
Use in combination with OneOrMany
. Always emit the list form.
Trait Implementations§
source§impl Clone for PreferMany
impl Clone for PreferMany
source§fn clone(&self) -> PreferMany
fn clone(&self) -> PreferMany
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 PreferMany
impl Debug for PreferMany
source§impl Default for PreferMany
impl Default for PreferMany
source§fn default() -> PreferMany
fn default() -> PreferMany
Returns the “default value” for a type. Read more
impl Copy for PreferMany
impl Format for PreferMany
Use in combination with OneOrMany
. Always emit the list form.
Auto Trait Implementations§
impl RefUnwindSafe for PreferMany
impl Send for PreferMany
impl Sync for PreferMany
impl Unpin for PreferMany
impl UnwindSafe for PreferMany
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