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§
source§impl Clone for HttpListenConfig
impl Clone for HttpListenConfig
source§fn clone(&self) -> HttpListenConfig
fn clone(&self) -> HttpListenConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HttpListenConfig
impl Debug for HttpListenConfig
source§impl Default for HttpListenConfig
impl Default for HttpListenConfig
source§fn default() -> HttpListenConfig
fn default() -> HttpListenConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpListenConfig
impl<'de> Deserialize<'de> for HttpListenConfig
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 HttpListenConfig
impl PartialEq for HttpListenConfig
source§fn 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 ==
.source§impl Serialize for HttpListenConfig
impl Serialize for HttpListenConfig
impl Eq for HttpListenConfig
impl StructuralPartialEq for HttpListenConfig
Auto Trait Implementations§
impl Freeze for HttpListenConfig
impl RefUnwindSafe for HttpListenConfig
impl Send for HttpListenConfig
impl Sync for HttpListenConfig
impl Unpin for HttpListenConfig
impl UnwindSafe for HttpListenConfig
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