#[non_exhaustive]pub struct SolverStorageRow {Show 19 fields
pub index: usize,
pub source_row: Option<usize>,
pub bus_index: usize,
pub ps: f64,
pub qs: f64,
pub energy: f64,
pub energy_rating: f64,
pub charge_rating: f64,
pub discharge_rating: f64,
pub charge_efficiency: f64,
pub discharge_efficiency: f64,
pub thermal_rating: f64,
pub current_rating: Option<f64>,
pub qmin: f64,
pub qmax: f64,
pub r: f64,
pub x: f64,
pub p_loss: f64,
pub q_loss: f64,
}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.index: usize§source_row: Option<usize>§bus_index: usize§ps: f64§qs: f64§energy: f64§energy_rating: f64§charge_rating: f64§discharge_rating: f64§charge_efficiency: f64§discharge_efficiency: f64§thermal_rating: f64§current_rating: Option<f64>§qmin: f64§qmax: f64§r: f64§x: f64§p_loss: f64§q_loss: f64Trait Implementations§
Source§impl Clone for SolverStorageRow
impl Clone for SolverStorageRow
Source§fn clone(&self) -> SolverStorageRow
fn clone(&self) -> SolverStorageRow
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 SolverStorageRow
impl Debug for SolverStorageRow
Source§impl<'de> Deserialize<'de> for SolverStorageRow
impl<'de> Deserialize<'de> for SolverStorageRow
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 PartialEq for SolverStorageRow
impl PartialEq for SolverStorageRow
Source§impl Serialize for SolverStorageRow
impl Serialize for SolverStorageRow
impl StructuralPartialEq for SolverStorageRow
Auto Trait Implementations§
impl Freeze for SolverStorageRow
impl RefUnwindSafe for SolverStorageRow
impl Send for SolverStorageRow
impl Sync for SolverStorageRow
impl Unpin for SolverStorageRow
impl UnsafeUnpin for SolverStorageRow
impl UnwindSafe for SolverStorageRow
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