pub struct ServeOpts {
pub bind: String,
pub root: Option<String>,
}Expand description
Options for the serve sub-command.
Fields§
§bind: String§root: Option<String>Auto Trait Implementations§
impl Freeze for ServeOpts
impl RefUnwindSafe for ServeOpts
impl Send for ServeOpts
impl Sync for ServeOpts
impl Unpin for ServeOpts
impl UnsafeUnpin for ServeOpts
impl UnwindSafe for ServeOpts
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