pub struct LastKeyEvent {
Show 19 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: String, pub loss_measurement_technique: String, 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: String, 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: i16event_propogation_time: i32attenuation_coefficient_lead_in_fiber: i16event_loss: i16event_reflectance: i32event_code: Stringloss_measurement_technique: Stringmarker_location_1: i32marker_location_2: i32marker_location_3: i32marker_location_4: i32marker_location_5: i32comment: Stringend_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.