Struct otdrs::types::GeneralParametersBlock [−][src]
pub struct GeneralParametersBlock<'a> {}Show fields
pub language_code: &'a str, pub cable_id: &'a str, pub fiber_id: &'a str, pub fiber_type: i16, pub nominal_wavelength: i16, pub originating_location: &'a str, pub terminating_location: &'a str, pub cable_code: &'a str, pub current_data_flag: &'a str, pub user_offset: i32, pub user_offset_distance: i32, pub operator: &'a str, pub comment: &'a str,
Expand description
The GeneralParametersBlock is mandatory for the format and contains test-identifying information as well as generic information about the test being run such as the nominal wavelength
Fields
language_code: &'a str
Language code - EN, CN, JP, etc.
cable_id: &'a str
Cable identifier
fiber_id: &'a str
Fibre identifier
fiber_type: i16
Fibre type - this is generally coded as the ITU-T standard definition, sans letters, e.g. 657, 655.
nominal_wavelength: i16
Nominal test wavelength in nm
originating_location: &'a str
Start location for the test
terminating_location: &'a str
End location for the test
cable_code: &'a str
Cable code - free field
current_data_flag: &'a str
NC for new condition, RC for as-repaired, OT as something else
user_offset: i32
User offset - This is essentially the launch lead length from the front panel offset (provided in the fixed parameters block), in 100ps increments
user_offset_distance: i32
This is the same as user_offset, but measured in 10x the distance units in FixedParametersBlock.units_of_distance
operator: &'a str
Operator of the unit for the test
comment: &'a str
Free comment field
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 GeneralParametersBlock<'a>
impl<'a> Send for GeneralParametersBlock<'a>
impl<'a> Sync for GeneralParametersBlock<'a>
impl<'a> Unpin for GeneralParametersBlock<'a>
impl<'a> UnwindSafe for GeneralParametersBlock<'a>