pub struct ConfigMetricsSettings {
pub enable: Option<bool>,
pub block_profile_rate: Option<i32>,
pub listen_address: Option<String>,
}
Fields§
§enable: Option<bool>
§block_profile_rate: Option<i32>
§listen_address: Option<String>
Implementations§
Source§impl ConfigMetricsSettings
impl ConfigMetricsSettings
pub fn new() -> ConfigMetricsSettings
Trait Implementations§
Source§impl Clone for ConfigMetricsSettings
impl Clone for ConfigMetricsSettings
Source§fn clone(&self) -> ConfigMetricsSettings
fn clone(&self) -> ConfigMetricsSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigMetricsSettings
impl Debug for ConfigMetricsSettings
Source§impl Default for ConfigMetricsSettings
impl Default for ConfigMetricsSettings
Source§fn default() -> ConfigMetricsSettings
fn default() -> ConfigMetricsSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigMetricsSettings
impl<'de> Deserialize<'de> for ConfigMetricsSettings
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
Source§impl PartialEq for ConfigMetricsSettings
impl PartialEq for ConfigMetricsSettings
Source§impl Serialize for ConfigMetricsSettings
impl Serialize for ConfigMetricsSettings
impl StructuralPartialEq for ConfigMetricsSettings
Auto Trait Implementations§
impl Freeze for ConfigMetricsSettings
impl RefUnwindSafe for ConfigMetricsSettings
impl Send for ConfigMetricsSettings
impl Sync for ConfigMetricsSettings
impl Unpin for ConfigMetricsSettings
impl UnwindSafe for ConfigMetricsSettings
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