pub struct HttpServerOpt {
pub listen: SocketAddr,
pub redirect: Option<String>,
}Fields§
§listen: SocketAddr§redirect: Option<String>Trait Implementations§
Source§impl Clone for HttpServerOpt
impl Clone for HttpServerOpt
Source§fn clone(&self) -> HttpServerOpt
fn clone(&self) -> HttpServerOpt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpServerOpt
impl RefUnwindSafe for HttpServerOpt
impl Send for HttpServerOpt
impl Sync for HttpServerOpt
impl Unpin for HttpServerOpt
impl UnwindSafe for HttpServerOpt
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