Enum hyper_scripter::query::EditQuery
source · [−]pub enum EditQuery<Q> {
NewAnonimous,
Query(Q),
}
Variants
NewAnonimous
Query(Q)
Trait Implementations
sourceimpl<Q: FromStr<Err = DisplayError>> FromStr for EditQuery<Q>
impl<Q: FromStr<Err = DisplayError>> FromStr for EditQuery<Q>
type Err = DisplayError
type Err = DisplayError
The associated error which can be returned from parsing.
sourcefn from_str(s: &str) -> DisplayResult<Self>
fn from_str(s: &str) -> DisplayResult<Self>
Parses a string s
to return a value of this type. Read more
sourceimpl Serialize for EditQuery<ScriptOrDirQuery>
impl Serialize for EditQuery<ScriptOrDirQuery>
sourceimpl Serialize for EditQuery<ScriptQuery>
impl Serialize for EditQuery<ScriptQuery>
impl<Q: Eq> Eq for EditQuery<Q>
impl<Q> StructuralEq for EditQuery<Q>
impl<Q> StructuralPartialEq for EditQuery<Q>
Auto Trait Implementations
impl<Q> RefUnwindSafe for EditQuery<Q> where
Q: RefUnwindSafe,
impl<Q> Send for EditQuery<Q> where
Q: Send,
impl<Q> Sync for EditQuery<Q> where
Q: Sync,
impl<Q> Unpin for EditQuery<Q> where
Q: Unpin,
impl<Q> UnwindSafe for EditQuery<Q> where
Q: 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<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.