Struct ora_api::client::LabelMatch
source · pub struct LabelMatch {
pub label: String,
pub value: LabelValueMatch,
}
Expand description
Allow matching on labels.
Fields§
§label: String
The name of the label.
value: LabelValueMatch
The value of the label.
Trait Implementations§
source§impl Clone for LabelMatch
impl Clone for LabelMatch
source§fn clone(&self) -> LabelMatch
fn clone(&self) -> LabelMatch
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for LabelMatch
impl Send for LabelMatch
impl Sync for LabelMatch
impl Unpin for LabelMatch
impl UnwindSafe for LabelMatch
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<W> IntoHandler for Wwhere
W: Send + Sync + 'static,
impl<W> IntoHandler for Wwhere W: Send + Sync + 'static,
source§fn handler<T>(self) -> Arc<dyn RawHandler + Send + Sync>where
Self: Handler<T>,
T: Task,
fn handler<T>(self) -> Arc<dyn RawHandler + Send + Sync>where Self: Handler<T>, T: Task,
Convert
self
into a RawHandler
that can be registered
in workers.source§fn handler_with_selector<T>(
self,
selector: WorkerSelector
) -> Arc<dyn RawHandler + Send + Sync>where
Self: Handler<T>,
T: Task,
fn handler_with_selector<T>( self, selector: WorkerSelector ) -> Arc<dyn RawHandler + Send + Sync>where Self: Handler<T>, T: Task,
Convert
self
into a RawHandler
that can be registered
in workers with the given selector.