Trait sled_web::request::IntoBody[][src]

pub trait IntoBody {
    type Body: Serialize;
    fn into_body(self) -> Self::Body;
}

Types that may be converted into a serialized JSON body for a hyper request.

Associated Types

The body of the request, capable of being serialized to JSON.

Required Methods

Convert self into the serializable Body type.

Implementors