Enum nextcloud_config_parser::Database[][src]

pub enum Database {
    Sqlite {
        database: PathBuf,
    },
    MySql {
        database: String,
        username: String,
        password: String,
        connect: DbConnect,
        disable_ssl: bool,
    },
    Postgres {
        database: String,
        username: String,
        password: String,
        connect: DbConnect,
        disable_ssl: bool,
    },
}

Variants

Sqlite

Fields of Sqlite

database: PathBuf
MySql

Fields of MySql

database: Stringusername: Stringpassword: Stringconnect: DbConnectdisable_ssl: bool
Postgres

Fields of Postgres

database: Stringusername: Stringpassword: Stringconnect: DbConnectdisable_ssl: bool

Trait Implementations

Formats the value using the given formatter. 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.

Performs the conversion.

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.