pub enum BodyExtraction {
Hash,
Jq(JqExtraction),
Regex(RegexExtraction),
}Expand description
Variants§
Hash
Hash the entire body using SHA256 (truncated to 16 hex chars).
Jq(JqExtraction)
Extract values from JSON body using a jq expression.
Regex(RegexExtraction)
Extract values using regular expression captures.
Trait Implementations§
Source§impl Clone for BodyExtraction
impl Clone for BodyExtraction
Source§fn clone(&self) -> BodyExtraction
fn clone(&self) -> BodyExtraction
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 moreAuto Trait Implementations§
impl Freeze for BodyExtraction
impl RefUnwindSafe for BodyExtraction
impl Send for BodyExtraction
impl Sync for BodyExtraction
impl Unpin for BodyExtraction
impl UnwindSafe for BodyExtraction
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