pub struct PrometheusEndpoint {
pub host: String,
pub port: u16,
}Fields§
§host: String§port: u16Trait Implementations§
Source§impl Clone for PrometheusEndpoint
impl Clone for PrometheusEndpoint
Source§fn clone(&self) -> PrometheusEndpoint
fn clone(&self) -> PrometheusEndpoint
Returns a duplicate 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 PrometheusEndpoint
impl Debug for PrometheusEndpoint
Source§impl PartialEq for PrometheusEndpoint
impl PartialEq for PrometheusEndpoint
Source§impl Serialize for PrometheusEndpoint
impl Serialize for PrometheusEndpoint
impl Eq for PrometheusEndpoint
impl StructuralPartialEq for PrometheusEndpoint
Auto Trait Implementations§
impl Freeze for PrometheusEndpoint
impl RefUnwindSafe for PrometheusEndpoint
impl Send for PrometheusEndpoint
impl Sync for PrometheusEndpoint
impl Unpin for PrometheusEndpoint
impl UnwindSafe for PrometheusEndpoint
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