Struct hermod_api::configuration::ApplicationSettings [−][src]
pub struct ApplicationSettings {
pub port: u16,
pub host: String,
pub base_url: String,
pub jwt_signing_key: String,
pub honeycomb_url: String,
}
Expand description
Contains settings relevant at the application level.
Fields
port: u16
host: String
base_url: String
jwt_signing_key: String
honeycomb_url: String
Trait Implementations
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 RefUnwindSafe for ApplicationSettings
impl Send for ApplicationSettings
impl Sync for ApplicationSettings
impl Unpin for ApplicationSettings
impl UnwindSafe for ApplicationSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more