pub enum EngineKind {
Json,
Text,
Html,
}Expand description
How a response body is decoded before parsing.
Variants§
Json
application/json body parsed with serde_json.
Text
Plain-text/XML body (e.g. arXiv Atom).
Html
HTML SERP scraped with a regex.
Trait Implementations§
Source§impl Clone for EngineKind
impl Clone for EngineKind
Source§fn clone(&self) -> EngineKind
fn clone(&self) -> EngineKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EngineKind
Source§impl Debug for EngineKind
impl Debug for EngineKind
impl Eq for EngineKind
Source§impl PartialEq for EngineKind
impl PartialEq for EngineKind
impl StructuralPartialEq for EngineKind
Auto Trait Implementations§
impl Freeze for EngineKind
impl RefUnwindSafe for EngineKind
impl Send for EngineKind
impl Sync for EngineKind
impl Unpin for EngineKind
impl UnsafeUnpin for EngineKind
impl UnwindSafe for EngineKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.