pub struct KeyVal {
pub key: String,
pub value: String,
pub negated: bool,
}Expand description
A scope key/value pair (a filter chip).
Fields§
§key: StringThe tag key.
value: StringThe tag value.
negated: boolWhether the filter is negated (!key:value).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyVal
impl<'de> Deserialize<'de> for KeyVal
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
impl Eq for KeyVal
impl StructuralPartialEq for KeyVal
Auto Trait Implementations§
impl Freeze for KeyVal
impl RefUnwindSafe for KeyVal
impl Send for KeyVal
impl Sync for KeyVal
impl Unpin for KeyVal
impl UnsafeUnpin for KeyVal
impl UnwindSafe for KeyVal
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