pub struct Config {
pub server: ServerConfig,
pub username: Option<String>,
pub password: Option<String>,
pub database: usize,
}
Fields§
§server: ServerConfig
§username: Option<String>
§password: Option<String>
§database: usize
Implementations§
Trait Implementations§
Source§impl IntoConfig for Config
impl IntoConfig for Config
fn into_config(self) -> Result<Config>
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more