Struct webserver_rs::web_core::config::Http3
source · pub struct Http3 {
pub dir: String,
pub cert_file_name: String,
pub key_file_name: String,
}Fields§
§dir: String§cert_file_name: String§key_file_name: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for Http3
impl<'de> Deserialize<'de> for Http3
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 Http3
impl RefUnwindSafe for Http3
impl Send for Http3
impl Sync for Http3
impl Unpin for Http3
impl UnwindSafe for Http3
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
source§impl<C> FromConfigFile for Cwhere
C: DeserializeOwned,
impl<C> FromConfigFile for Cwhere
C: DeserializeOwned,
source§fn from_config_file<P>(path: P) -> Result<C, ConfigFileError>
fn from_config_file<P>(path: P) -> Result<C, ConfigFileError>
Load ourselves from the configuration file located at @path