pub struct Rest<I, O> { /* private fields */ }Implementations§
Source§impl<I, O> Rest<I, O>
impl<I, O> Rest<I, O>
pub const fn new(method: HttpMethod, path: &'static str) -> Rest<I, O>
pub const fn delete(path: &'static str) -> Rest<I, O>
pub const fn get(path: &'static str) -> Rest<I, O>
pub const fn post(path: &'static str) -> Rest<I, O>
pub const fn put(path: &'static str) -> Rest<I, O>
Trait Implementations§
Auto Trait Implementations§
impl<I, O> Freeze for Rest<I, O>
impl<I, O> RefUnwindSafe for Rest<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<I, O> Send for Rest<I, O>
impl<I, O> Sync for Rest<I, O>
impl<I, O> Unpin for Rest<I, O>
impl<I, O> UnwindSafe for Rest<I, O>where
I: UnwindSafe,
O: UnwindSafe,
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