pub enum BatchFormat {
Json,
Msgpack,
}Expand description
Wire format for the per-part body. JSON is the default; Msgpack matches the Scrapfly API’s msgpack negotiation.
Variants§
Trait Implementations§
Source§impl Clone for BatchFormat
impl Clone for BatchFormat
Source§fn clone(&self) -> BatchFormat
fn clone(&self) -> BatchFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchFormat
impl Debug for BatchFormat
Source§impl Default for BatchFormat
impl Default for BatchFormat
Source§fn default() -> BatchFormat
fn default() -> BatchFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchFormat
impl PartialEq for BatchFormat
impl Copy for BatchFormat
impl Eq for BatchFormat
impl StructuralPartialEq for BatchFormat
Auto Trait Implementations§
impl Freeze for BatchFormat
impl RefUnwindSafe for BatchFormat
impl Send for BatchFormat
impl Sync for BatchFormat
impl Unpin for BatchFormat
impl UnsafeUnpin for BatchFormat
impl UnwindSafe for BatchFormat
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