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

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. 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

Performs the conversion.

Performs the conversion.

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.