Struct espresso::config::StatsConfig
source · pub struct StatsConfig {
pub address: SocketAddr,
}
Expand description
Stats server configuration.
Fields
address: SocketAddr
Server listed address.
Note: Should be different from the main server.
Trait Implementations
sourceimpl Clone for StatsConfig
impl Clone for StatsConfig
sourcefn clone(&self) -> StatsConfig
fn clone(&self) -> StatsConfig
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 StatsConfig
impl Debug for StatsConfig
sourceimpl<'de> Deserialize<'de> for StatsConfig
impl<'de> Deserialize<'de> for StatsConfig
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
sourceimpl PartialEq<StatsConfig> for StatsConfig
impl PartialEq<StatsConfig> for StatsConfig
sourcefn eq(&self, other: &StatsConfig) -> bool
fn eq(&self, other: &StatsConfig) -> bool
sourceimpl Serialize for StatsConfig
impl Serialize for StatsConfig
impl StructuralPartialEq for StatsConfig
Auto Trait Implementations
impl RefUnwindSafe for StatsConfig
impl Send for StatsConfig
impl Sync for StatsConfig
impl Unpin for StatsConfig
impl UnwindSafe for StatsConfig
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