Struct prometheus_http_query::error::MissingFieldError
source · pub struct MissingFieldError(/* private fields */);
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 for MissingFieldError
impl PartialEq 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 ==
.impl StructuralPartialEq for MissingFieldError
Auto Trait Implementations§
impl RefUnwindSafe for MissingFieldError
impl Send for MissingFieldError
impl Sync for MissingFieldError
impl Unpin for MissingFieldError
impl UnwindSafe for MissingFieldError
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