pub struct LabelMatcher {
pub name: String,
pub op: MatchOp,
pub value: String,
}Expand description
One label matcher, e.g. service_name=~"web-.*".
Fields§
§name: String§op: MatchOp§value: StringTrait Implementations§
Source§impl Clone for LabelMatcher
impl Clone for LabelMatcher
Source§impl Debug for LabelMatcher
impl Debug for LabelMatcher
Source§impl PartialEq for LabelMatcher
impl PartialEq for LabelMatcher
impl StructuralPartialEq for LabelMatcher
Auto Trait Implementations§
impl Freeze for LabelMatcher
impl RefUnwindSafe for LabelMatcher
impl Send for LabelMatcher
impl Sync for LabelMatcher
impl Unpin for LabelMatcher
impl UnsafeUnpin for LabelMatcher
impl UnwindSafe for LabelMatcher
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