Struct prometheus_http_query::response::DroppedTarget
source · pub struct DroppedTarget { /* private fields */ }
Expand description
A single dropped target.
Implementations§
source§impl DroppedTarget
impl DroppedTarget
sourcepub fn discovered_labels(&self) -> &HashMap<String, String>
pub fn discovered_labels(&self) -> &HashMap<String, String>
Get a set of unmodified labels as before relabelling occurred.
Trait Implementations§
source§impl Clone for DroppedTarget
impl Clone for DroppedTarget
source§fn clone(&self) -> DroppedTarget
fn clone(&self) -> DroppedTarget
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 moresource§impl Debug for DroppedTarget
impl Debug for DroppedTarget
source§impl<'de> Deserialize<'de> for DroppedTarget
impl<'de> Deserialize<'de> for DroppedTarget
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
Auto Trait Implementations§
impl Freeze for DroppedTarget
impl RefUnwindSafe for DroppedTarget
impl Send for DroppedTarget
impl Sync for DroppedTarget
impl Unpin for DroppedTarget
impl UnwindSafe for DroppedTarget
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