pub struct Config {
pub host: String,
pub port: u16,
pub bridge_url: String,
pub bridge_secret: Option<String>,
pub static_dir: String,
}Expand description
Configuration loaded from environment variables.
Fields§
§host: String§port: u16§bridge_url: String§bridge_secret: Option<String>§static_dir: StringImplementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin 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