pub enum StringOrVec {
String(String),
Vec(Vec<Value>),
}Variants§
Trait Implementations§
Source§impl Clone for StringOrVec
impl Clone for StringOrVec
Source§fn clone(&self) -> StringOrVec
fn clone(&self) -> StringOrVec
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 StringOrVec
impl Debug for StringOrVec
Source§impl From<&str> for StringOrVec
impl From<&str> for StringOrVec
Source§impl From<String> for StringOrVec
impl From<String> for StringOrVec
Source§impl PartialEq for StringOrVec
impl PartialEq for StringOrVec
Source§impl Serialize for StringOrVec
impl Serialize for StringOrVec
impl StructuralPartialEq for StringOrVec
Auto Trait Implementations§
impl Freeze for StringOrVec
impl RefUnwindSafe for StringOrVec
impl Send for StringOrVec
impl Sync for StringOrVec
impl Unpin for StringOrVec
impl UnsafeUnpin for StringOrVec
impl UnwindSafe for StringOrVec
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