pub struct LabelPredicate {
pub var: String,
pub labels: Vec<String>,
pub span: Span,
}Expand description
A label predicate: n:Person used as a boolean expression.
Fields§
§var: String§labels: Vec<String>§span: SpanTrait Implementations§
Source§impl Clone for LabelPredicate
impl Clone for LabelPredicate
Source§fn clone(&self) -> LabelPredicate
fn clone(&self) -> LabelPredicate
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 LabelPredicate
impl Debug for LabelPredicate
Source§impl<'de> Deserialize<'de> for LabelPredicate
impl<'de> Deserialize<'de> for LabelPredicate
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 LabelPredicate
impl PartialEq for LabelPredicate
Source§impl Serialize for LabelPredicate
impl Serialize for LabelPredicate
impl StructuralPartialEq for LabelPredicate
Auto Trait Implementations§
impl Freeze for LabelPredicate
impl RefUnwindSafe for LabelPredicate
impl Send for LabelPredicate
impl Sync for LabelPredicate
impl Unpin for LabelPredicate
impl UnsafeUnpin for LabelPredicate
impl UnwindSafe for LabelPredicate
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