#[repr(C)]pub struct PioAcOtsOptions {Show 13 fields
pub switchable: PioStringView,
pub identities: *const PioStringView,
pub identities_len: usize,
pub switching_costs: *const PioBranchSwitchingCost,
pub switching_costs_len: usize,
pub islanding: PioStringView,
pub max_open: usize,
pub has_max_open: bool,
pub max_switched: usize,
pub has_max_switched: bool,
pub current_limits: PioStringView,
pub stated_current_limits: *const PioBranchCurrentLimit,
pub stated_current_limits_len: usize,
}Expand description
AC optimal transmission switching options. switchable is all,
none, or only (then identities names the switchable branches);
islanding is forbidden or allowed; current_limits is skip,
stated, or derive_from_rate_a. Arrays carry their element counts and
are read during the call only.
Fields§
§switchable: PioStringView§identities: *const PioStringView§identities_len: usize§switching_costs: *const PioBranchSwitchingCost§switching_costs_len: usize§islanding: PioStringView§max_open: usize§has_max_open: bool§max_switched: usize§has_max_switched: bool§current_limits: PioStringView§stated_current_limits: *const PioBranchCurrentLimit§stated_current_limits_len: usizeTrait Implementations§
Source§impl Clone for PioAcOtsOptions
impl Clone for PioAcOtsOptions
impl Copy for PioAcOtsOptions
Auto Trait Implementations§
impl !Send for PioAcOtsOptions
impl !Sync for PioAcOtsOptions
impl Freeze for PioAcOtsOptions
impl RefUnwindSafe for PioAcOtsOptions
impl Unpin for PioAcOtsOptions
impl UnsafeUnpin for PioAcOtsOptions
impl UnwindSafe for PioAcOtsOptions
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