pub trait AsRequest<S: Serialize> {
fn method() -> Method;
fn client(&self) -> &Client;
fn path(&self) -> String;
fn body(&self) -> &S;
fn attempts(&self) -> NonZeroU8;
}
Expand description
Trait enabling conversion of non-terminal request builders to requests.