[][src]Struct oration::config::Config

pub struct Config {
    pub host: String,
    pub blog_name: String,
    pub salt: String,
    pub author: Author,
    pub nesting_limit: u32,
    pub edit_timeout: f32,
    pub notifications: Notifications,
    pub telegram: Telegram,
}

The main struct which all input data from oration.yaml is pushed into.

Fields

Top level location of the blog we are serving.

Name of the blog we are serving.

A salt for slightly more anonymous anonymous user identification.

Blog Author to highlight as an authority in comments.

Limit of thread nesting in comments.

Time limit that restricts user editing of their own comments.

Email notification system and connection details.

Telegram notification endpoint details.

Methods

impl Config
[src]

Reads and parses data from the oration.yaml file and command line arguments.

Additional checks to the configuration file that cannot be done implicitly by the type checker.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config