Trait restless_core::PostRequest
source · pub trait PostRequest: Sized {
type Request: Encodable;
// Required methods
fn path(&self) -> Cow<'_, str>;
fn body(&self) -> Self::Request;
// Provided method
fn request(self) -> Post<Self> { ... }
}
Expand description
POST Request
method.
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.