Struct ajars::RestFluent
source · pub struct RestFluent<I, O>{ /* private fields */ }
Implementations§
source§impl<I, O> RestFluent<I, O>
impl<I, O> RestFluent<I, O>
pub fn new<P>(method: HttpMethod, path: P) -> RestFluent<I, O>
pub fn delete<P>(path: P) -> RestFluent<I, O>
pub fn get<P>(path: P) -> RestFluent<I, O>
pub fn post<P>(path: P) -> RestFluent<I, O>
pub fn put<P>(path: P) -> RestFluent<I, O>
Trait Implementations§
source§impl<I, O> Clone for RestFluent<I, O>
impl<I, O> Clone for RestFluent<I, O>
source§fn clone(&self) -> RestFluent<I, O>
fn clone(&self) -> RestFluent<I, O>
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 moresource§impl<I, O> RestType<I, O> for RestFluent<I, O>
impl<I, O> RestType<I, O> for RestFluent<I, O>
fn path(&self) -> &str
fn method(&self) -> &HttpMethod
fn build<P>(method: HttpMethod, path: P) -> RestFluent<I, O>
Auto Trait Implementations§
impl<I, O> Freeze for RestFluent<I, O>
impl<I, O> RefUnwindSafe for RestFluent<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<I, O> Send for RestFluent<I, O>
impl<I, O> Sync for RestFluent<I, O>
impl<I, O> Unpin for RestFluent<I, O>
impl<I, O> UnwindSafe for RestFluent<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