pub struct FrbcResolution<'a> {
pub actuator: &'a ActuatorDescription,
pub mode: &'a OperationMode,
pub element: Option<&'a OperationModeElement>,
pub factor: Factor,
pub power: Vec<PowerValue>,
pub fill_rate: Option<f64>,
pub abnormal_only: bool,
}Expand description
What an FRBC.Instruction means, read against the system description.
Fields§
§actuator: &'a ActuatorDescriptionThe actuator it addresses.
mode: &'a OperationModeThe operation mode it selects.
element: Option<&'a OperationModeElement>The element of that mode which applies at the present fill level, when one is known.
factor: FactorThe factor, checked.
power: Vec<PowerValue>The power that factor implies, one value per commodity quantity.
fill_rate: Option<f64>How fast the store fills, in fill-level units per second. Positive fills.
abnormal_only: boolWhether the mode may only be used during an abnormal condition.
Trait Implementations§
Source§impl<'a> Clone for FrbcResolution<'a>
impl<'a> Clone for FrbcResolution<'a>
Source§impl<'a> Debug for FrbcResolution<'a>
impl<'a> Debug for FrbcResolution<'a>
Source§impl<'a> PartialEq for FrbcResolution<'a>
impl<'a> PartialEq for FrbcResolution<'a>
impl<'a> StructuralPartialEq for FrbcResolution<'a>
Auto Trait Implementations§
impl<'a> Forget for FrbcResolution<'a>
impl<'a> Freeze for FrbcResolution<'a>
impl<'a> Move for FrbcResolution<'a>
impl<'a> RefUnwindSafe for FrbcResolution<'a>
impl<'a> Send for FrbcResolution<'a>
impl<'a> Sync for FrbcResolution<'a>
impl<'a> Unpin for FrbcResolution<'a>
impl<'a> UnsafeUnpin for FrbcResolution<'a>
impl<'a> UnwindSafe for FrbcResolution<'a>
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