Struct restless_core::methods::Get
source · pub struct Get<T: GetRequest> {
pub inner: T,
}
Expand description
Turn a GetRequest
into a Request
.
Fields§
§inner: T
Inner request
Trait Implementations§
source§impl<T: GetRequest> From<T> for Get<T>
impl<T: GetRequest> From<T> for Get<T>
source§impl<T: Ord + GetRequest> Ord for Get<T>
impl<T: Ord + GetRequest> Ord for Get<T>
source§impl<T: PartialEq + GetRequest> PartialEq for Get<T>
impl<T: PartialEq + GetRequest> PartialEq for Get<T>
source§impl<T: PartialOrd + GetRequest> PartialOrd for Get<T>
impl<T: PartialOrd + GetRequest> PartialOrd for Get<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<T: GetRequest> Request for Get<T>
impl<T: GetRequest> Request for Get<T>
§type Response = <T as GetRequest>::Response
type Response = <T as GetRequest>::Response
Response body.
§type Query = <T as GetRequest>::Query
type Query = <T as GetRequest>::Query
Query string.
impl<T: Eq + GetRequest> Eq for Get<T>
impl<T: GetRequest> StructuralPartialEq for Get<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Get<T>where
T: RefUnwindSafe,
impl<T> Send for Get<T>where
T: Send,
impl<T> Sync for Get<T>where
T: Sync,
impl<T> Unpin for Get<T>where
T: Unpin,
impl<T> UnwindSafe for Get<T>where
T: 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