pub struct ProgramConfig {
pub server: bool,
pub watch: bool,
pub directory: String,
pub port: Option<u16>,
}Fields§
§server: bool§watch: bool§directory: String§port: Option<u16>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProgramConfig
impl RefUnwindSafe for ProgramConfig
impl Send for ProgramConfig
impl Sync for ProgramConfig
impl Unpin for ProgramConfig
impl UnwindSafe for ProgramConfig
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