pub struct NtsConfig {
pub enabled: bool,
pub ke_listen: String,
pub certificate: Option<String>,
pub private_key: Option<String>,
}Fields§
§enabled: bool§ke_listen: String§certificate: Option<String>§private_key: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NtsConfig
impl<'de> Deserialize<'de> for NtsConfig
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 NtsConfig
impl RefUnwindSafe for NtsConfig
impl Send for NtsConfig
impl Sync for NtsConfig
impl Unpin for NtsConfig
impl UnsafeUnpin for NtsConfig
impl UnwindSafe for NtsConfig
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