You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: inject_failure.rs
    path of file: ./repos/linkerd2-proxy/linkerd/http-route/src/grpc/filter
    
    the code of the file until where you have to start completion: use std::hash::Hash;

pub use crate::http::filter::Distribution;

pub type InjectFailure = crate::http::filter::InjectFailure<FailureResponse>;

/// A gRPC error code and status message.
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
pub struct FailureResponse {
    pub code
    
        fn try_from(proto: api::GrpcFailureInjector) -> Result<Self, Self::Error> {
            let response = FailureResponse {
                code: u16::try_from(proto.code)?,
                message: proto.message.into(),
            };

            Ok(InjectFailure {
                response,
                distribution: proto.ratio.try_into()?,
            })
        }