[−][src]Struct df_st_core::config::RootConfig
The top level of the config file of df_storyteller-config.json
Fields
local_address: String
IP on your local network (NAT). Usually something like "192.168.0.2". Other NAT subnets are: "10.0.0.2" or "172.16.0.2" 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 "127.0.0.1". 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]
fn clone(&self) -> RootConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RootConfig
[src]
impl Default for RootConfig
[src]
impl<'de> Deserialize<'de> for RootConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<RootConfig> for RootConfig
[src]
fn eq(&self, other: &RootConfig) -> bool
[src]
fn ne(&self, other: &RootConfig) -> bool
[src]
impl Serialize for RootConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,