pub enum ReturnFormatHandling {
Single(ReturnFormat),
Multi(HashSet<ReturnFormat>),
}Expand description
Send multiple return formats.
Variants§
Trait Implementations§
Source§impl Clone for ReturnFormatHandling
impl Clone for ReturnFormatHandling
Source§fn clone(&self) -> ReturnFormatHandling
fn clone(&self) -> ReturnFormatHandling
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 ReturnFormatHandling
impl Debug for ReturnFormatHandling
Source§impl Default for ReturnFormatHandling
impl Default for ReturnFormatHandling
Source§fn default() -> ReturnFormatHandling
fn default() -> ReturnFormatHandling
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReturnFormatHandling
impl<'de> Deserialize<'de> for ReturnFormatHandling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReturnFormatHandling
impl RefUnwindSafe for ReturnFormatHandling
impl Send for ReturnFormatHandling
impl Sync for ReturnFormatHandling
impl Unpin for ReturnFormatHandling
impl UnwindSafe for ReturnFormatHandling
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