Struct dittolive_ditto::transport::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
sourcefn ne(&self, other: &HttpListenConfig) -> bool
fn ne(&self, other: &HttpListenConfig) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
pub fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more