pub struct RuleContext<'a> {
pub field: &'a str,
pub value: Option<&'a Value>,
pub data: &'a Value,
}Fields§
§field: &'a str§value: Option<&'a Value>§data: &'a ValueTrait Implementations§
Source§impl<'a> Clone for RuleContext<'a>
impl<'a> Clone for RuleContext<'a>
Source§fn clone(&self) -> RuleContext<'a>
fn clone(&self) -> RuleContext<'a>
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<'a> Copy for RuleContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for RuleContext<'a>
impl<'a> RefUnwindSafe for RuleContext<'a>
impl<'a> Send for RuleContext<'a>
impl<'a> Sync for RuleContext<'a>
impl<'a> Unpin for RuleContext<'a>
impl<'a> UnsafeUnpin for RuleContext<'a>
impl<'a> UnwindSafe for RuleContext<'a>
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