Struct ajars_core::Rest
source · [−]pub struct Rest<I, O> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<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> RefUnwindSafe for Rest<I, O> where
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<I, O> Send for Rest<I, O> where
I: Send,
O: Send,
impl<I, O> Sync for Rest<I, O> where
I: Sync,
O: Sync,
impl<I, O> Unpin for Rest<I, O> where
I: Unpin,
O: Unpin,
impl<I, O> UnwindSafe for Rest<I, O> where
I: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more