pub struct TrafficDirectorLogEntry {
pub node_id: String,
pub node_ip: String,
pub description: String,
pub client_type: i32,
pub client_version: String,
pub transport_api_version: i32,
}
Expand description
A common proto for describing how the Traffic Director handles xDS-connections/requests/responses.
Fields§
§node_id: String
An ID of xDS-client connecting to the Traffic Director.
node_ip: String
The string representation of IPv4 or IPv6 address of xDS-client connecting to the Traffic Director. IPv4 address must be in the format defined in RFC791, four octets separated by a period. Size of a string is between 7-15 characters. Example: 1.2.3.4 IPv6 address must be in one of the formats defined in RFC4291. Size of a string is between 7-39 characters. Example: 2001:DB8:0:0:8:800:200C:417A
description: String
A free text describing details of the event.
client_type: i32
Type of xDS-client connecting to Traffic Director
client_version: String
The version of xDS-client connecting to Traffic Director.
transport_api_version: i32
The xDS API version used by xDS clients connecting to Traffic Director.
Implementations§
source§impl TrafficDirectorLogEntry
impl TrafficDirectorLogEntry
sourcepub fn client_type(&self) -> ClientType
pub fn client_type(&self) -> ClientType
Returns the enum value of client_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_client_type(&mut self, value: ClientType)
pub fn set_client_type(&mut self, value: ClientType)
Sets client_type
to the provided enum value.
sourcepub fn transport_api_version(&self) -> TransportApiVersion
pub fn transport_api_version(&self) -> TransportApiVersion
Returns the enum value of transport_api_version
, or the default if the field is set to an invalid enum value.
sourcepub fn set_transport_api_version(&mut self, value: TransportApiVersion)
pub fn set_transport_api_version(&mut self, value: TransportApiVersion)
Sets transport_api_version
to the provided enum value.
Trait Implementations§
source§impl Clone for TrafficDirectorLogEntry
impl Clone for TrafficDirectorLogEntry
source§fn clone(&self) -> TrafficDirectorLogEntry
fn clone(&self) -> TrafficDirectorLogEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrafficDirectorLogEntry
impl Debug for TrafficDirectorLogEntry
source§impl Default for TrafficDirectorLogEntry
impl Default for TrafficDirectorLogEntry
source§impl Message for TrafficDirectorLogEntry
impl Message for TrafficDirectorLogEntry
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for TrafficDirectorLogEntry
impl PartialEq for TrafficDirectorLogEntry
source§fn eq(&self, other: &TrafficDirectorLogEntry) -> bool
fn eq(&self, other: &TrafficDirectorLogEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrafficDirectorLogEntry
Auto Trait Implementations§
impl Freeze for TrafficDirectorLogEntry
impl RefUnwindSafe for TrafficDirectorLogEntry
impl Send for TrafficDirectorLogEntry
impl Sync for TrafficDirectorLogEntry
impl Unpin for TrafficDirectorLogEntry
impl UnwindSafe for TrafficDirectorLogEntry
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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