pub enum StringOrVecString {
String(String),
VecString(Vec<String>),
}
Expand description
Type for text field. Text can be string or array 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 copy 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 Default for StringOrVecString
impl Default for StringOrVecString
Source§impl<'a> From<&'a [&str]> for StringOrVecString
impl<'a> From<&'a [&str]> 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 Eq 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 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