pub struct LogFieldMatch {
pub field: String,
pub value: Value,
}Expand description
One exact-match field filter in a historical/follow log query.
Fields§
§field: StringStructured field name to compare.
value: ValueExact JSON value to match.
Implementations§
Trait Implementations§
Source§impl Clone for LogFieldMatch
impl Clone for LogFieldMatch
Source§fn clone(&self) -> LogFieldMatch
fn clone(&self) -> LogFieldMatch
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 moreSource§impl Debug for LogFieldMatch
impl Debug for LogFieldMatch
Source§impl<'de> Deserialize<'de> for LogFieldMatch
impl<'de> Deserialize<'de> for LogFieldMatch
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
Source§impl PartialEq for LogFieldMatch
impl PartialEq for LogFieldMatch
Source§impl Serialize for LogFieldMatch
impl Serialize for LogFieldMatch
impl StructuralPartialEq for LogFieldMatch
Auto Trait Implementations§
impl Freeze for LogFieldMatch
impl RefUnwindSafe for LogFieldMatch
impl Send for LogFieldMatch
impl Sync for LogFieldMatch
impl Unpin for LogFieldMatch
impl UnsafeUnpin for LogFieldMatch
impl UnwindSafe for LogFieldMatch
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