pub struct BranchEquipmentKey {
pub bus_a: u32,
pub bus_b: u32,
pub circuit: String,
}Expand description
Stable branch identity for metadata that must survive branch reordering.
Conditional ratings come from equipment-level data (for example CGMES
ConditionalLimit objects), so they must follow the physical branch
across topology rebuilds and vector compaction. The identity is therefore
keyed by the undirected terminal pair plus circuit identifier rather than
an ephemeral branch array index.
Fields§
§bus_a: u32§bus_b: u32§circuit: StringImplementations§
Trait Implementations§
Source§impl Clone for BranchEquipmentKey
impl Clone for BranchEquipmentKey
Source§fn clone(&self) -> BranchEquipmentKey
fn clone(&self) -> BranchEquipmentKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BranchEquipmentKey
impl Debug for BranchEquipmentKey
Source§impl<'de> Deserialize<'de> for BranchEquipmentKey
impl<'de> Deserialize<'de> for BranchEquipmentKey
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
Source§impl Hash for BranchEquipmentKey
impl Hash for BranchEquipmentKey
Source§impl PartialEq for BranchEquipmentKey
impl PartialEq for BranchEquipmentKey
Source§impl Serialize for BranchEquipmentKey
impl Serialize for BranchEquipmentKey
impl Eq for BranchEquipmentKey
impl StructuralPartialEq for BranchEquipmentKey
Auto Trait Implementations§
impl Freeze for BranchEquipmentKey
impl RefUnwindSafe for BranchEquipmentKey
impl Send for BranchEquipmentKey
impl Sync for BranchEquipmentKey
impl Unpin for BranchEquipmentKey
impl UnsafeUnpin for BranchEquipmentKey
impl UnwindSafe for BranchEquipmentKey
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