pub enum StringOrVecString {
String(String),
VecString(Vec<String>),
}Expand description
A string or a vector of strings
Variants§
Trait Implementations§
Source§impl Clone for StringOrVecString
impl Clone for StringOrVecString
Source§fn clone(&self) -> StringOrVecString
fn clone(&self) -> StringOrVecString
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 StringOrVecString
impl Debug for StringOrVecString
Source§impl From<&str> for StringOrVecString
impl From<&str> for StringOrVecString
Source§impl From<String> for StringOrVecString
impl From<String> for StringOrVecString
Source§impl PartialEq for StringOrVecString
impl PartialEq for StringOrVecString
Source§impl Serialize for StringOrVecString
impl Serialize for StringOrVecString
impl StructuralPartialEq for StringOrVecString
Auto Trait Implementations§
impl Freeze for StringOrVecString
impl RefUnwindSafe for StringOrVecString
impl Send for StringOrVecString
impl Sync for StringOrVecString
impl Unpin for StringOrVecString
impl UnsafeUnpin for StringOrVecString
impl UnwindSafe for StringOrVecString
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