pub struct DashboardOptions {
pub host: Ipv4Addr,
pub preferred_port: u16,
pub fallback_range: PortRange,
pub skip_ports: Vec<u16>,
pub allowed_hosts: Vec<String>,
pub auth: DashboardAuth,
pub static_dir: Option<PathBuf>,
}Fields§
§host: Ipv4Addr§preferred_port: u16§fallback_range: PortRange§skip_ports: Vec<u16>§allowed_hosts: Vec<String>§auth: DashboardAuth§static_dir: Option<PathBuf>Trait Implementations§
Source§impl Clone for DashboardOptions
impl Clone for DashboardOptions
Source§fn clone(&self) -> DashboardOptions
fn clone(&self) -> DashboardOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DashboardOptions
impl Debug for DashboardOptions
Auto Trait Implementations§
impl Freeze for DashboardOptions
impl RefUnwindSafe for DashboardOptions
impl Send for DashboardOptions
impl Sync for DashboardOptions
impl Unpin for DashboardOptions
impl UnsafeUnpin for DashboardOptions
impl UnwindSafe for DashboardOptions
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