pub trait IntoBody {
type Body: Serialize;
// Required method
fn into_body(self) -> Self::Body;
}Expand description
Types that may be converted into a serialized JSON body for a hyper request.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".