Struct wicrs_server::config::Config [−][src]
pub struct Config { pub key_server: String, pub address: String, pub show_version: bool, pub key_id: Option<String>, }
Configuration object for WICRS Server.
Fields
key_server: String
Base URL of the PGP key server to use.
address: String
Address to listen on for HTTP requests. (host:port
)
show_version: bool
Whether or not to show the version of WICRS server on the root webpage (http(s)://host:port/
)
key_id: Option<String>
ID to give the generated PGP KeyPair.
Trait Implementations
impl<'de> Deserialize<'de> for Config
[src]
impl<'de> Deserialize<'de> for Config
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Config
impl RefUnwindSafe for Config
impl UnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,