pub struct PrometheusMetricsParameters {
pub socket_addr: Multiaddr,
}
Fields
socket_addr: Multiaddr
Socket address the server should be listening to.
Trait Implementations
sourceimpl Clone for PrometheusMetricsParameters
impl Clone for PrometheusMetricsParameters
sourcefn clone(&self) -> PrometheusMetricsParameters
fn clone(&self) -> PrometheusMetricsParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PrometheusMetricsParameters
impl Debug for PrometheusMetricsParameters
sourceimpl Default for PrometheusMetricsParameters
impl Default for PrometheusMetricsParameters
sourceimpl<'de> Deserialize<'de> for PrometheusMetricsParameters
impl<'de> Deserialize<'de> for PrometheusMetricsParameters
sourcefn 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 PrometheusMetricsParameters
impl Send for PrometheusMetricsParameters
impl Sync for PrometheusMetricsParameters
impl Unpin for PrometheusMetricsParameters
impl UnwindSafe for PrometheusMetricsParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
fn clear(&mut self)
Completely overwrites this value.
sourceimpl<D> Import for Dwhere
D: DeserializeOwned,
impl<D> Import for Dwhere
D: DeserializeOwned,
fn import(path: &str) -> Result<Self, ConfigError>
impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more