pub struct HttpResponseProperties {
pub response_code: Option<UInt32Value>,
pub response_headers_bytes: u64,
pub response_body_bytes: u64,
pub response_headers: HashMap<String, String>,
pub response_trailers: HashMap<String, String>,
pub response_code_details: String,
pub upstream_header_bytes_received: u64,
pub downstream_header_bytes_sent: u64,
}Expand description
[#next-free-field: 9]
Fields§
§response_code: Option<UInt32Value>The HTTP response code returned by Envoy.
response_headers_bytes: u64Size of the HTTP response headers in bytes.
This value is captured from the OSI layer 7 perspective, i.e. it does not include protocol overhead or overhead from framing or encoding at other networking layers.
response_body_bytes: u64Size of the HTTP response body in bytes.
This value is captured from the OSI layer 7 perspective, i.e. it does not include overhead from framing or encoding at other networking layers.
response_headers: HashMap<String, String>Map of additional headers configured to be logged.
response_trailers: HashMap<String, String>Map of trailers configured to be logged.
response_code_details: StringThe HTTP response code details.
upstream_header_bytes_received: u64Number of header bytes received from the upstream by the http stream, including protocol overhead.
downstream_header_bytes_sent: u64Number of header bytes sent to the downstream by the http stream, including protocol overhead.
Trait Implementations§
Source§impl Clone for HttpResponseProperties
impl Clone for HttpResponseProperties
Source§fn clone(&self) -> HttpResponseProperties
fn clone(&self) -> HttpResponseProperties
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HttpResponseProperties
impl Debug for HttpResponseProperties
Source§impl Default for HttpResponseProperties
impl Default for HttpResponseProperties
Source§impl Message for HttpResponseProperties
impl Message for HttpResponseProperties
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for HttpResponseProperties
impl Name for HttpResponseProperties
Source§const NAME: &'static str = "HTTPResponseProperties"
const NAME: &'static str = "HTTPResponseProperties"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "envoy.data.accesslog.v3"
const PACKAGE: &'static str = "envoy.data.accesslog.v3"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for HttpResponseProperties
impl PartialEq for HttpResponseProperties
impl StructuralPartialEq for HttpResponseProperties
Auto Trait Implementations§
impl Freeze for HttpResponseProperties
impl RefUnwindSafe for HttpResponseProperties
impl Send for HttpResponseProperties
impl Sync for HttpResponseProperties
impl Unpin for HttpResponseProperties
impl UnwindSafe for HttpResponseProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request