Struct rust_web_server::request::Method
source · [−]pub struct Method {
pub get: &'static str,
pub head: &'static str,
pub post: &'static str,
pub put: &'static str,
pub delete: &'static str,
pub connect: &'static str,
pub options: &'static str,
pub trace: &'static str,
pub patch: &'static str,
}
Fields
get: &'static str
head: &'static str
post: &'static str
put: &'static str
delete: &'static str
connect: &'static str
options: &'static str
trace: &'static str
patch: &'static str
Trait Implementations
impl Eq for Method
impl StructuralEq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more