Struct otdrs::types::LastKeyEvent [−][src]
pub struct LastKeyEvent<'a> {}Show fields
pub event_number: i16, pub event_propogation_time: i32, pub attenuation_coefficient_lead_in_fiber: i16, pub event_loss: i16, pub event_reflectance: i32, pub event_code: &'a str, pub loss_measurement_technique: &'a str, pub marker_location_1: i32, pub marker_location_2: i32, pub marker_location_3: i32, pub marker_location_4: i32, pub marker_location_5: i32, pub comment: &'a str, pub end_to_end_loss: i32, pub end_to_end_marker_position_1: i32, pub end_to_end_marker_position_2: i32, pub optical_return_loss: u16, pub optical_return_loss_marker_position_1: i32, pub optical_return_loss_marker_position_2: i32,
Expand description
The last key event is as the KeyEvent, with some additional fields; see KeyEvent for the documentation of other fields
Fields
event_number: i16
event_propogation_time: i32
attenuation_coefficient_lead_in_fiber: i16
event_loss: i16
event_reflectance: i32
event_code: &'a str
loss_measurement_technique: &'a str
marker_location_1: i32
marker_location_2: i32
marker_location_3: i32
marker_location_4: i32
marker_location_5: i32
comment: &'a str
end_to_end_loss: i32
End to end loss is in dB*1000 and measures the loss between the two markers defined below
end_to_end_marker_position_1: i32
Start of the measurement span - typically user offset
end_to_end_marker_position_2: i32
End of the measurement span - typically end of fibre event position
optical_return_loss: u16
Return loss in dB*1000 for the markers defined below
optical_return_loss_marker_position_1: i32
Start of the measurement span - typically user offset
optical_return_loss_marker_position_2: i32
End of the measurement span - typically end of fibre event position
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for LastKeyEvent<'a>
impl<'a> Send for LastKeyEvent<'a>
impl<'a> Sync for LastKeyEvent<'a>
impl<'a> Unpin for LastKeyEvent<'a>
impl<'a> UnwindSafe for LastKeyEvent<'a>