Struct dittolive_ditto::prelude::HttpListenConfig
source · [−]pub struct HttpListenConfig {
pub enabled: bool,
pub interface_ip: String,
pub port: u16,
pub static_content_path: Option<PathBuf>,
pub websocket_sync: bool,
pub tls_key_path: Option<PathBuf>,
pub tls_certificate_path: Option<PathBuf>,
}
Fields
enabled: bool
interface_ip: String
port: u16
static_content_path: Option<PathBuf>
websocket_sync: bool
tls_key_path: Option<PathBuf>
tls_certificate_path: Option<PathBuf>
Implementations
Trait Implementations
sourceimpl Clone for HttpListenConfig
impl Clone for HttpListenConfig
sourcefn clone(&self) -> HttpListenConfig
fn clone(&self) -> HttpListenConfig
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 more
sourceimpl Debug for HttpListenConfig
impl Debug for HttpListenConfig
sourceimpl Default for HttpListenConfig
impl Default for HttpListenConfig
sourcefn default() -> HttpListenConfig
fn default() -> HttpListenConfig
Returns the “default value” for a type. Read more
sourceimpl PartialEq<HttpListenConfig> for HttpListenConfig
impl PartialEq<HttpListenConfig> for HttpListenConfig
sourcefn eq(&self, other: &HttpListenConfig) -> bool
fn eq(&self, other: &HttpListenConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for HttpListenConfig
impl StructuralEq for HttpListenConfig
impl StructuralPartialEq for HttpListenConfig
Auto Trait Implementations
impl RefUnwindSafe for HttpListenConfig
impl Send for HttpListenConfig
impl Sync for HttpListenConfig
impl Unpin for HttpListenConfig
impl UnwindSafe for HttpListenConfig
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