pub struct SslConfig {
pub cert_type: CertType,
pub cert_path: Option<String>,
pub key_path: Option<String>,
}
Expand description
SSL設定
Fields§
§cert_type: CertType
証明書タイプ
cert_path: Option<String>
証明書ファイルのパス
key_path: Option<String>
キーファイルのパス
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SslConfig
impl<'de> Deserialize<'de> for SslConfig
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 SslConfig
impl RefUnwindSafe for SslConfig
impl Send for SslConfig
impl Sync for SslConfig
impl Unpin for SslConfig
impl UnwindSafe for SslConfig
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