Struct google_api_proto::google::cloud::compute::v1::InterconnectDiagnosticsLinkStatus
source · pub struct InterconnectDiagnosticsLinkStatus {
pub arp_caches: Vec<InterconnectDiagnosticsArpEntry>,
pub circuit_id: Option<String>,
pub google_demarc: Option<String>,
pub lacp_status: Option<InterconnectDiagnosticsLinkLacpStatus>,
pub macsec: Option<InterconnectDiagnosticsMacsecStatus>,
pub operational_status: Option<String>,
pub receiving_optical_power: Option<InterconnectDiagnosticsLinkOpticalPower>,
pub transmitting_optical_power: Option<InterconnectDiagnosticsLinkOpticalPower>,
}
Expand description
Fields§
§arp_caches: Vec<InterconnectDiagnosticsArpEntry>
A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on this link. This will be empty if the link is bundled
circuit_id: Option<String>
The unique ID for this link assigned during turn up by Google.
google_demarc: Option<String>
The Demarc address assigned by Google and provided in the LoA.
lacp_status: Option<InterconnectDiagnosticsLinkLacpStatus>
§macsec: Option<InterconnectDiagnosticsMacsecStatus>
Describes the status of MACsec encryption on this link.
operational_status: Option<String>
The operational status of the link. Check the OperationalStatus enum for the list of possible values.
receiving_optical_power: Option<InterconnectDiagnosticsLinkOpticalPower>
An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level.
transmitting_optical_power: Option<InterconnectDiagnosticsLinkOpticalPower>
An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level.
Implementations§
source§impl InterconnectDiagnosticsLinkStatus
impl InterconnectDiagnosticsLinkStatus
sourcepub fn google_demarc(&self) -> &str
pub fn google_demarc(&self) -> &str
Returns the value of google_demarc
, or the default value if google_demarc
is unset.
sourcepub fn operational_status(&self) -> &str
pub fn operational_status(&self) -> &str
Returns the value of operational_status
, or the default value if operational_status
is unset.
sourcepub fn circuit_id(&self) -> &str
pub fn circuit_id(&self) -> &str
Returns the value of circuit_id
, or the default value if circuit_id
is unset.
Trait Implementations§
source§impl Clone for InterconnectDiagnosticsLinkStatus
impl Clone for InterconnectDiagnosticsLinkStatus
source§fn clone(&self) -> InterconnectDiagnosticsLinkStatus
fn clone(&self) -> InterconnectDiagnosticsLinkStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for InterconnectDiagnosticsLinkStatus
impl Message for InterconnectDiagnosticsLinkStatus
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 PartialEq for InterconnectDiagnosticsLinkStatus
impl PartialEq for InterconnectDiagnosticsLinkStatus
source§fn eq(&self, other: &InterconnectDiagnosticsLinkStatus) -> bool
fn eq(&self, other: &InterconnectDiagnosticsLinkStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterconnectDiagnosticsLinkStatus
Auto Trait Implementations§
impl Freeze for InterconnectDiagnosticsLinkStatus
impl RefUnwindSafe for InterconnectDiagnosticsLinkStatus
impl Send for InterconnectDiagnosticsLinkStatus
impl Sync for InterconnectDiagnosticsLinkStatus
impl Unpin for InterconnectDiagnosticsLinkStatus
impl UnwindSafe for InterconnectDiagnosticsLinkStatus
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