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

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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