Enum eval_utility::eval_wrapper::TypeOfString
source · [−]pub enum TypeOfString {
INT64,
F64,
BOOLEAN,
STRING,
ARRAY,
OBJECT,
NULL,
}
Variants
INT64
F64
BOOLEAN
STRING
ARRAY
OBJECT
NULL
Implementations
sourceimpl TypeOfString
impl TypeOfString
pub fn value(&self) -> String
pub fn from_value<S: AsRef<str>>(value: S) -> TypeOfString
Trait Implementations
sourceimpl Clone for TypeOfString
impl Clone for TypeOfString
sourcefn clone(&self) -> TypeOfString
fn clone(&self) -> TypeOfString
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 TypeOfString
impl Debug for TypeOfString
sourceimpl PartialEq<TypeOfString> for TypeOfString
impl PartialEq<TypeOfString> for TypeOfString
impl StructuralPartialEq for TypeOfString
Auto Trait Implementations
impl RefUnwindSafe for TypeOfString
impl Send for TypeOfString
impl Sync for TypeOfString
impl Unpin for TypeOfString
impl UnwindSafe for TypeOfString
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