pub trait WithAuthorization: HttpRequest + Sized {
// Provided method
fn with_authorization<A: Authorization>(
self,
authorization: A,
) -> AuthorizedHttpRequest<A, Self> { ... }
}Expand description
Trait for adding authorization information to http requests
Provided Methods§
Augment the request with authorization information
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.