pub struct PumpingBlockBounds {
pub min_flow_m3s: f64,
pub max_flow_m3s: f64,
}Expand description
Block-eligible pumping station bounds for a given (pumping, stage) pair.
Pumping stations have no stage-only bound column — every pumping column is
block-eligible — so this is pumping’s only per-(pumping, stage) bound type,
stored directly with no stage half to pair against. Resolved from
pumping_stations.json overlaid with constraints/pumping_bounds.parquet.
§Examples
use cobre_core::resolved::PumpingBlockBounds;
let b = PumpingBlockBounds { min_flow_m3s: 0.0, max_flow_m3s: 50.0 };
let c = b; // Copy
assert!((c.max_flow_m3s - 50.0).abs() < f64::EPSILON);Fields§
§min_flow_m3s: f64Minimum pumped flow [m³/s]. Hard lower bound.
max_flow_m3s: f64Maximum pumped flow [m³/s]. Hard upper bound.
Trait Implementations§
Source§impl Clone for PumpingBlockBounds
impl Clone for PumpingBlockBounds
Source§fn clone(&self) -> PumpingBlockBounds
fn clone(&self) -> PumpingBlockBounds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PumpingBlockBounds
Source§impl Debug for PumpingBlockBounds
impl Debug for PumpingBlockBounds
Source§impl PartialEq for PumpingBlockBounds
impl PartialEq for PumpingBlockBounds
impl StructuralPartialEq for PumpingBlockBounds
Auto Trait Implementations§
impl Freeze for PumpingBlockBounds
impl RefUnwindSafe for PumpingBlockBounds
impl Send for PumpingBlockBounds
impl Sync for PumpingBlockBounds
impl Unpin for PumpingBlockBounds
impl UnsafeUnpin for PumpingBlockBounds
impl UnwindSafe for PumpingBlockBounds
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