[][src]Struct ena::config::Settings

pub struct Settings {
    pub engine: Database,
    pub database: String,
    pub schema: String,
    pub host: String,
    pub port: u32,
    pub username: String,
    pub password: String,
    pub charset: String,
    pub path: String,
    pub db_url: String,
    pub user_agent: String,
    pub api_url: String,
    pub media_url: String,
    pub asagi_mode: bool,
    pub strict_mode: bool,
}

Archiver settings

Fields

engine: Databasedatabase: Stringschema: Stringhost: Stringport: u32username: Stringpassword: Stringcharset: Stringpath: Stringdb_url: Stringuser_agent: Stringapi_url: Stringmedia_url: Stringasagi_mode: boolstrict_mode: bool

Trait Implementations

impl Clone for Settings[src]

impl Debug for Settings[src]

impl Default for Settings[src]

impl<'de> Deserialize<'de> for Settings where
    Settings: Default
[src]

impl Serialize for Settings[src]

Auto Trait Implementations

impl RefUnwindSafe for Settings

impl Send for Settings

impl Sync for Settings

impl Unpin for Settings

impl UnwindSafe for Settings

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,