Struct prometheus_http_query::response::ActiveTarget
source · [−]pub struct ActiveTarget { /* private fields */ }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.
Get the scrape interval of this target.
Get the scrape timeout of this target.
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
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more