pub struct Network {
pub protocol: String,
pub secure: bool,
pub host: String,
pub port: u16,
pub listen_all_interfaces: bool,
pub allow_insecure: bool,
pub insecure_port: u16,
pub insecure_use_different_port: bool,
pub insecure_force_secure: bool,
}
Fields§
§protocol: String
§secure: bool
§host: String
§port: u16
§listen_all_interfaces: bool
§allow_insecure: bool
§insecure_port: u16
§insecure_use_different_port: bool
§insecure_force_secure: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Network
impl<'de> Deserialize<'de> for Network
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
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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