pub struct VirtualHosts {
pub host: String,
pub root: PathBuf,
}
Expand description
The VirtualHosts
file options.
Fields§
§host: String
The value to check for in the “Host” header
root: PathBuf
The root directory for this virtual host
Auto Trait Implementations§
impl Freeze for VirtualHosts
impl RefUnwindSafe for VirtualHosts
impl Send for VirtualHosts
impl Sync for VirtualHosts
impl Unpin for VirtualHosts
impl UnwindSafe for VirtualHosts
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