pub struct BodyConditionPayload {
pub kind: BodyConditionKind,
pub path: String,
pub op: BodyOp,
pub value: Value,
}Expand description
One body condition in a RulePayload.
Fields§
§kind: BodyConditionKindCurrently only Json.
path: StringDotted path into the JSON body (not canonical JSONPath).
op: BodyOp§value: ValueConfigured comparison value.
Trait Implementations§
Source§impl Clone for BodyConditionPayload
impl Clone for BodyConditionPayload
Source§fn clone(&self) -> BodyConditionPayload
fn clone(&self) -> BodyConditionPayload
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 moreAuto Trait Implementations§
impl Freeze for BodyConditionPayload
impl RefUnwindSafe for BodyConditionPayload
impl Send for BodyConditionPayload
impl Sync for BodyConditionPayload
impl Unpin for BodyConditionPayload
impl UnsafeUnpin for BodyConditionPayload
impl UnwindSafe for BodyConditionPayload
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