[][src]Struct df_st_core::config::RootConfig

pub struct RootConfig {
    pub local_address: String,
    pub server: ServerConfig,
    pub database: DatabaseConfig,

The top level of the config file of df_storyteller-config.json


local_address: String

IP on your local network (NAT). Usually something like "". Other NAT subnets are: "" or "" You can find this address by searching a guide using the term "private ip". This is necessary if you want to access the API from other devices. Default is "". A domain name is also allowed: "example.com" or "localhost"

server: ServerConfig

Configuration of the server.

database: DatabaseConfig

Configuration of the database.

Trait Implementations

impl Clone for RootConfig[src]

impl Debug for RootConfig[src]

impl Default for RootConfig[src]

impl<'de> Deserialize<'de> for RootConfig[src]

impl PartialEq<RootConfig> for RootConfig[src]

impl Serialize for RootConfig[src]

impl StructuralPartialEq for RootConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for RootConfig

impl Send for RootConfig

impl Sync for RootConfig

impl Unpin for RootConfig

impl UnwindSafe for RootConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> DynClone for T where
    T: Clone

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.