Enum non_std::dependencies::strs_tools::string::parse_request::protected::OpType
source · [−]pub enum OpType<T> {
Primitive(T),
Vector(Vec<T, Global>),
Map(HashMap<String, T, RandomState>),
}
Expand description
Wrapper types to make transformation.
Variants
Primitive(T)
Wrapper over single element of type
Vector(Vec<T, Global>)
Wrapper over vector of elements of type
Map(HashMap<String, T, RandomState>)
Wrapper over hash map of elements of type
Implementations
Trait Implementations
impl<T> StructuralPartialEq for OpType<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for OpType<T> where
T: RefUnwindSafe,
impl<T> Send for OpType<T> where
T: Send,
impl<T> Sync for OpType<T> where
T: Sync,
impl<T> Unpin for OpType<T> where
T: Unpin,
impl<T> UnwindSafe for OpType<T> where
T: UnwindSafe,
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
sourceimpl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
sourceimpl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
sourcefn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.