pub enum StringOrStringList {
String(String),
List(Vec<String>),
}Variants§
Trait Implementations§
Source§impl Clone for StringOrStringList
impl Clone for StringOrStringList
Source§fn clone(&self) -> StringOrStringList
fn clone(&self) -> StringOrStringList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StringOrStringList
impl Debug for StringOrStringList
Source§impl<'de> Deserialize<'de> for StringOrStringList
impl<'de> Deserialize<'de> for StringOrStringList
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 StringOrStringList
impl PartialEq for StringOrStringList
Source§impl Serialize for StringOrStringList
impl Serialize for StringOrStringList
impl StructuralPartialEq for StringOrStringList
Auto Trait Implementations§
impl Freeze for StringOrStringList
impl RefUnwindSafe for StringOrStringList
impl Send for StringOrStringList
impl Sync for StringOrStringList
impl Unpin for StringOrStringList
impl UnsafeUnpin for StringOrStringList
impl UnwindSafe for StringOrStringList
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