pub enum QueryOrJson<'a> {
Query(&'a Query),
Json(&'a str),
}Expand description
What Query::fingerprint accepts: a query, or its JSON.
Variants§
Trait Implementations§
Source§impl<'a> Clone for QueryOrJson<'a>
impl<'a> Clone for QueryOrJson<'a>
impl<'a> Copy for QueryOrJson<'a>
Auto Trait Implementations§
impl<'a> Forget for QueryOrJson<'a>
impl<'a> Freeze for QueryOrJson<'a>
impl<'a> Move for QueryOrJson<'a>
impl<'a> RefUnwindSafe for QueryOrJson<'a>where
Atomic<usize>: RefUnwindSafe,
Atomic<*mut ()>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl<'a> Send for QueryOrJson<'a>
impl<'a> Sync for QueryOrJson<'a>
impl<'a> Unpin for QueryOrJson<'a>
impl<'a> UnsafeUnpin for QueryOrJson<'a>
impl<'a> UnwindSafe for QueryOrJson<'a>
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