Struct actix_protobuf::ProtoBuf [−][src]
pub struct ProtoBuf<T: Message>(pub T);
Tuple Fields
0: T
Trait Implementations
type Config = ProtoBufConfig
type Config = ProtoBufConfig
Configuration for this extractor.
type Error = Error
type Error = Error
The associated error which can be returned.
Create a Self from request parts asynchronously.
Convert self to HttpResponse
.
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
Override a status code for a Responder. Read more
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
Insert header to the final response. Read more