Struct chitey_server::server::http_server::HttpServerOpt
source · 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 copy 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 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