#[non_exhaustive]pub struct AcOtsOptions {
pub switchable: BranchSelection,
pub switching_costs: Vec<BranchSwitchingCost>,
pub islanding: IslandingPolicy,
pub max_open: Option<usize>,
pub max_switched: Option<usize>,
pub current_limits: CurrentLimitPolicy,
pub stated_current_limits: Vec<BranchCurrentLimit>,
}Expand description
The switching options of an AcOtsInstance.
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.switchable: BranchSelectionThe branches that may change status.
switching_costs: Vec<BranchSwitchingCost>Transition costs; a branch with no record switches at zero cost.
islanding: IslandingPolicyWhether the final topology may form islands.
max_open: Option<usize>The most branches open in the final topology, counting every open row, including fixed ones.
max_switched: Option<usize>The most status changes against the initial topology.
current_limits: CurrentLimitPolicyWhich current limits apply.
stated_current_limits: Vec<BranchCurrentLimit>The explicit current limits CurrentLimitPolicy::Stated uses.
Trait Implementations§
Source§impl Clone for AcOtsOptions
impl Clone for AcOtsOptions
Source§impl Debug for AcOtsOptions
impl Debug for AcOtsOptions
Source§impl Default for AcOtsOptions
impl Default for AcOtsOptions
Source§impl PartialEq for AcOtsOptions
impl PartialEq for AcOtsOptions
impl StructuralPartialEq for AcOtsOptions
Auto Trait Implementations§
impl Freeze for AcOtsOptions
impl RefUnwindSafe for AcOtsOptions
impl Send for AcOtsOptions
impl Sync for AcOtsOptions
impl Unpin for AcOtsOptions
impl UnsafeUnpin for AcOtsOptions
impl UnwindSafe for AcOtsOptions
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