pub struct MatchValue {
pub value: Value,
}Expand description
A JSON scalar value required by a field-match condition.
Fields§
§value: ValueThe scalar value that must equal the payload field.
Trait Implementations§
Source§impl Clone for MatchValue
impl Clone for MatchValue
Source§fn clone(&self) -> MatchValue
fn clone(&self) -> MatchValue
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 MatchValue
impl Debug for MatchValue
Source§impl<'de> Deserialize<'de> for MatchValue
impl<'de> Deserialize<'de> for MatchValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MatchValue
impl RefUnwindSafe for MatchValue
impl Send for MatchValue
impl Sync for MatchValue
impl Unpin for MatchValue
impl UnsafeUnpin for MatchValue
impl UnwindSafe for MatchValue
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