Struct prometheus_http_query::response::BuildInformation
source · pub struct BuildInformation { /* private fields */ }
Expand description
An object containing Prometheus server build information.
Implementations§
source§impl BuildInformation
impl BuildInformation
sourcepub fn build_user(&self) -> &str
pub fn build_user(&self) -> &str
Get the user who built the server.
sourcepub fn build_date(&self) -> &PrimitiveDateTime
pub fn build_date(&self) -> &PrimitiveDateTime
Get the date at which the server was built.
sourcepub fn go_version(&self) -> &str
pub fn go_version(&self) -> &str
Get the Go version that was used to build the server.
Trait Implementations§
source§impl Clone for BuildInformation
impl Clone for BuildInformation
source§fn clone(&self) -> BuildInformation
fn clone(&self) -> BuildInformation
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 BuildInformation
impl Debug for BuildInformation
source§impl<'de> Deserialize<'de> for BuildInformation
impl<'de> Deserialize<'de> for BuildInformation
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 RefUnwindSafe for BuildInformation
impl Send for BuildInformation
impl Sync for BuildInformation
impl Unpin for BuildInformation
impl UnwindSafe for BuildInformation
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