Struct otdrs::types::Landmark[][src]

pub struct Landmark<'a> {
    pub landmark_number: i16,
    pub landmark_code: &'a str,
    pub landmark_location: i32,
    pub related_event_number: i16,
    pub gps_longitude: i32,
    pub gps_latitude: i32,
    pub fiber_correction_factor_lead_in_fiber: i16,
    pub sheath_marker_entering_landmark: i32,
    pub sheath_marker_leaving_landmark: i32,
    pub units_of_sheath_marks_leaving_landmark: &'a str,
    pub mode_field_diameter_leaving_landmark: i16,
    pub comment: &'a str,
}
Expand description

Landmarks are a slightly esoteric feature not often used in SOR files for field test equipment. They act to relate OTDR events to real-world information such as WGS84 GPS data, known fibre MFDs, metre markers, etc

Fields

landmark_number: i16landmark_code: &'a str

Landmark code identifies the landmark - see page 27 of the standard for the list

landmark_location: i32

Location in 100ps from user offset to the landmark

related_event_number: i16gps_longitude: i32gps_latitude: i32fiber_correction_factor_lead_in_fiber: i16

Fibre correction factor is the difference in 100*% between the optical path and the cable length; otherwise known as heliax correction

sheath_marker_entering_landmark: i32sheath_marker_leaving_landmark: i32units_of_sheath_marks_leaving_landmark: &'a strmode_field_diameter_leaving_landmark: i16comment: &'a str

Trait Implementations

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

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.