pub enum StringList {
String(String),
List(Vec<String>),
}Expand description
A list of strings written either as an array or as a space-separated string.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StringList
impl Clone for StringList
Source§impl Debug for StringList
impl Debug for StringList
Source§impl<'de> Deserialize<'de> for StringList
impl<'de> Deserialize<'de> for StringList
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 StringList
impl RefUnwindSafe for StringList
impl Send for StringList
impl Sync for StringList
impl Unpin for StringList
impl UnsafeUnpin for StringList
impl UnwindSafe for StringList
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