#[non_exhaustive]pub struct BodyConditionView {
pub kind: String,
pub path: String,
pub op: String,
pub value: Value,
}Expand description
One body condition in a WhenView.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: StringBody kind — currently always "json".
path: StringDotted path into the JSON body.
op: StringOperator in snake_case form.
value: ValueConfigured value as a JSON value.
Trait Implementations§
Source§impl Clone for BodyConditionView
impl Clone for BodyConditionView
Source§fn clone(&self) -> BodyConditionView
fn clone(&self) -> BodyConditionView
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 moreSource§impl Debug for BodyConditionView
impl Debug for BodyConditionView
Auto Trait Implementations§
impl Freeze for BodyConditionView
impl RefUnwindSafe for BodyConditionView
impl Send for BodyConditionView
impl Sync for BodyConditionView
impl Unpin for BodyConditionView
impl UnsafeUnpin for BodyConditionView
impl UnwindSafe for BodyConditionView
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