Struct ajars_core::Rest
source · pub struct Rest<I, O> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<I: Serialize + DeserializeOwned, O: Serialize + DeserializeOwned> RestType<I, O> for Rest<I, O>
impl<I: Serialize + DeserializeOwned, O: Serialize + DeserializeOwned> RestType<I, O> for Rest<I, O>
fn path(&self) -> &str
fn method(&self) -> &HttpMethod
fn build<P: Into<String>>(method: HttpMethod, path: P) -> RestFluent<I, O>
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