Struct prometheus_http_query::error::MissingFieldError
source · pub struct MissingFieldError(_);
Expand description
This error is thrown when a field is unexpectedly not part of the API response.
Trait Implementations§
source§impl Clone for MissingFieldError
impl Clone for MissingFieldError
source§fn clone(&self) -> MissingFieldError
fn clone(&self) -> MissingFieldError
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 MissingFieldError
impl Debug for MissingFieldError
source§impl Display for MissingFieldError
impl Display for MissingFieldError
source§impl PartialEq<MissingFieldError> for MissingFieldError
impl PartialEq<MissingFieldError> for MissingFieldError
source§fn eq(&self, other: &MissingFieldError) -> bool
fn eq(&self, other: &MissingFieldError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.