pub struct InterconnectDiagnosticsLinkOpticalPower {
pub state: Option<String>,
pub value: Option<f32>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§state: Option<String>The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold.
value: Option<f32>Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
Trait Implementations§
Source§impl Clone for InterconnectDiagnosticsLinkOpticalPower
impl Clone for InterconnectDiagnosticsLinkOpticalPower
Source§fn clone(&self) -> InterconnectDiagnosticsLinkOpticalPower
fn clone(&self) -> InterconnectDiagnosticsLinkOpticalPower
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for InterconnectDiagnosticsLinkOpticalPower
impl Default for InterconnectDiagnosticsLinkOpticalPower
Source§fn default() -> InterconnectDiagnosticsLinkOpticalPower
fn default() -> InterconnectDiagnosticsLinkOpticalPower
Source§impl<'de> Deserialize<'de> for InterconnectDiagnosticsLinkOpticalPower
impl<'de> Deserialize<'de> for InterconnectDiagnosticsLinkOpticalPower
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for InterconnectDiagnosticsLinkOpticalPower
Auto Trait Implementations§
impl Freeze for InterconnectDiagnosticsLinkOpticalPower
impl RefUnwindSafe for InterconnectDiagnosticsLinkOpticalPower
impl Send for InterconnectDiagnosticsLinkOpticalPower
impl Sync for InterconnectDiagnosticsLinkOpticalPower
impl Unpin for InterconnectDiagnosticsLinkOpticalPower
impl UnwindSafe for InterconnectDiagnosticsLinkOpticalPower
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more