Struct restless_core::methods::Post
source · pub struct Post<T: PostRequest> {
pub inner: T,
}
Expand description
Turn a PostRequest
into a Request
.
Fields§
§inner: T
Inner request
Trait Implementations§
source§impl<T: PostRequest> From<T> for Post<T>
impl<T: PostRequest> From<T> for Post<T>
source§impl<T: Ord + PostRequest> Ord for Post<T>
impl<T: Ord + PostRequest> Ord for Post<T>
source§impl<T: PartialEq + PostRequest> PartialEq for Post<T>
impl<T: PartialEq + PostRequest> PartialEq for Post<T>
source§impl<T: PartialOrd + PostRequest> PartialOrd for Post<T>
impl<T: PartialOrd + PostRequest> PartialOrd for Post<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: PostRequest> Request for Post<T>
impl<T: PostRequest> Request for Post<T>
§type Request = <T as PostRequest>::Request
type Request = <T as PostRequest>::Request
Request body.
impl<T: Eq + PostRequest> Eq for Post<T>
impl<T: PostRequest> StructuralPartialEq for Post<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Post<T>where
T: RefUnwindSafe,
impl<T> Send for Post<T>where
T: Send,
impl<T> Sync for Post<T>where
T: Sync,
impl<T> Unpin for Post<T>where
T: Unpin,
impl<T> UnwindSafe for Post<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