pub enum StringArgumentStyle {
None,
PreferQuoted,
PreferUnquoted,
}Variants§
None
String arguments can be quoted or unquoted (default)
PreferQuoted
String arguments must be quoted
PreferUnquoted
String arguments should be unquoted, when possible
Trait Implementations§
Source§impl Clone for StringArgumentStyle
impl Clone for StringArgumentStyle
Source§fn clone(&self) -> StringArgumentStyle
fn clone(&self) -> StringArgumentStyle
Returns a duplicate 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 StringArgumentStyle
impl Debug for StringArgumentStyle
Source§impl Default for StringArgumentStyle
impl Default for StringArgumentStyle
Source§fn default() -> StringArgumentStyle
fn default() -> StringArgumentStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringArgumentStyle
impl<'de> Deserialize<'de> for StringArgumentStyle
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
Source§impl PartialEq for StringArgumentStyle
impl PartialEq for StringArgumentStyle
Source§impl Serialize for StringArgumentStyle
impl Serialize for StringArgumentStyle
impl Copy for StringArgumentStyle
impl Eq for StringArgumentStyle
impl StructuralPartialEq for StringArgumentStyle
Auto Trait Implementations§
impl Freeze for StringArgumentStyle
impl RefUnwindSafe for StringArgumentStyle
impl Send for StringArgumentStyle
impl Sync for StringArgumentStyle
impl Unpin for StringArgumentStyle
impl UnsafeUnpin for StringArgumentStyle
impl UnwindSafe for StringArgumentStyle
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