pub struct LineData {
pub length_km: Option<f64>,
pub line_type: Option<LineType>,
pub conductor: Option<String>,
pub n_bundles: Option<u32>,
pub r_temp_coeff: f64,
pub r_ref_temp_c: f64,
}Expand description
Physical line properties.
Fields§
§length_km: Option<f64>Line length in km.
line_type: Option<LineType>Physical line construction type.
conductor: Option<String>Conductor designation (e.g. “Drake”, “Falcon”).
n_bundles: Option<u32>Number of sub-conductors per bundle.
r_temp_coeff: f64Resistance-temperature coefficient (1/deg-C). Default 0.
r_ref_temp_c: f64Reference temperature for rated R (deg-C). Default 20.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineData
impl<'de> Deserialize<'de> for LineData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LineData
impl RefUnwindSafe for LineData
impl Send for LineData
impl Sync for LineData
impl Unpin for LineData
impl UnsafeUnpin for LineData
impl UnwindSafe for LineData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more