Expand description
Type for text field. Text can be string or array of strings
Variants
String(String)
One text input to analyze
VecString(Vec<String>)
Multiple text inputs to analyze
Trait Implementations
sourceimpl Clone for StringOrVecString
impl Clone for StringOrVecString
sourcefn clone(&self) -> StringOrVecString
fn clone(&self) -> StringOrVecString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StringOrVecString
impl Debug for StringOrVecString
sourceimpl Default for StringOrVecString
impl Default for StringOrVecString
sourceimpl From<&'_ str> for StringOrVecString
impl From<&'_ str> for StringOrVecString
sourceimpl From<String> for StringOrVecString
impl From<String> for StringOrVecString
sourceimpl PartialEq<StringOrVecString> for StringOrVecString
impl PartialEq<StringOrVecString> for StringOrVecString
sourcefn eq(&self, other: &StringOrVecString) -> bool
fn eq(&self, other: &StringOrVecString) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StringOrVecString) -> bool
fn ne(&self, other: &StringOrVecString) -> bool
This method tests for !=
.
sourceimpl Serialize for StringOrVecString
impl Serialize for StringOrVecString
impl StructuralPartialEq for StringOrVecString
Auto Trait Implementations
impl RefUnwindSafe for StringOrVecString
impl Send for StringOrVecString
impl Sync for StringOrVecString
impl Unpin for StringOrVecString
impl UnwindSafe for StringOrVecString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more