Struct telescope::env::ConcreteConfig [−][src]
pub struct ConcreteConfig {
log_level: String,
pub github_credentials: GithubOauthConfig,
pub discord_config: DiscordConfig,
pub api_url: String,
pub telescope_url: String,
pub jwt_secret: String,
}
Expand description
A concrete config found by searching the specified profile and parents for items from the narrowest up.
The fields of this struct should match up closely to the fields of the TelescopeConfig struct.
Fields
log_level: String
The log level. Private because the logger is initialized in this module.
github_credentials: GithubOauthConfig
The GitHub OAuth Application Credentials.
discord_config: DiscordConfig
The Discord Config and Credentials.
api_url: String
The url of the RCOS API that telescope will read and write to.
telescope_url: String
The domain that telescope is available at. Should not end with a slash.
jwt_secret: String
The JWT secret used to authenticate with the central API.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConcreteConfig
impl Send for ConcreteConfig
impl Sync for ConcreteConfig
impl Unpin for ConcreteConfig
impl UnwindSafe for ConcreteConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
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