Struct objtalk::server::config::HttpConfig
source · pub struct HttpConfig {
pub addr: SocketAddr,
pub allow_origin: Option<String>,
pub admin: AdminConfig,
}
Fields
addr: SocketAddr
allow_origin: Option<String>
admin: AdminConfig
Trait Implementations
sourceimpl Debug for HttpConfig
impl Debug for HttpConfig
sourceimpl<'de> Deserialize<'de> for HttpConfig
impl<'de> Deserialize<'de> for HttpConfig
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<HttpConfig> for HttpConfig
impl PartialEq<HttpConfig> for HttpConfig
sourcefn eq(&self, other: &HttpConfig) -> bool
fn eq(&self, other: &HttpConfig) -> bool
impl StructuralPartialEq for HttpConfig
Auto Trait Implementations
impl RefUnwindSafe for HttpConfig
impl Send for HttpConfig
impl Sync for HttpConfig
impl Unpin for HttpConfig
impl UnwindSafe for HttpConfig
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self