Struct prometheus_http_query::response::ActiveTarget [−][src]
pub struct ActiveTarget { /* fields omitted */ }
Expand description
A single active target.
Implementations
Get a set of unmodified labels as before relabelling occurred.
Get the scrape pool of this target.
Get the scrape URL of this target.
Get the global URL of this target.
Get the last error reported for this target.
Get the time when the last scrape occurred.
Get the duration that the last scrape ran for in seconds.
Trait Implementations
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 RefUnwindSafe for ActiveTarget
impl Send for ActiveTarget
impl Sync for ActiveTarget
impl Unpin for ActiveTarget
impl UnwindSafe for ActiveTarget