#[non_exhaustive]pub struct AcOtsBranch {
pub id: String,
pub initial_closed: bool,
pub switchable: bool,
pub switching_cost: Option<SwitchingCost>,
pub stated_current: TerminalCurrentBounds,
pub current: TerminalCurrentBounds,
}Expand description
One physical branch as the switching instance sees it, in branch table order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe stable branch identity.
initial_closed: boolWhether the branch is in service in the initial topology.
switchable: boolWhether the branch may change status.
switching_cost: Option<SwitchingCost>The stated transition costs, if any.
stated_current: TerminalCurrentBoundsThe explicit current limits stated for the branch.
current: TerminalCurrentBoundsThe current limits that apply under the instance’s policy.
Trait Implementations§
Source§impl Clone for AcOtsBranch
impl Clone for AcOtsBranch
Source§impl Debug for AcOtsBranch
impl Debug for AcOtsBranch
Source§impl PartialEq for AcOtsBranch
impl PartialEq for AcOtsBranch
impl StructuralPartialEq for AcOtsBranch
Auto Trait Implementations§
impl Freeze for AcOtsBranch
impl RefUnwindSafe for AcOtsBranch
impl Send for AcOtsBranch
impl Sync for AcOtsBranch
impl Unpin for AcOtsBranch
impl UnsafeUnpin for AcOtsBranch
impl UnwindSafe for AcOtsBranch
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