pub struct Constraints {
pub start_time: Option<u64>,
pub duration: Option<u8>,
pub nominal_power: Option<u8>,
pub maximum_energy: Option<u8>,
pub load_control: Option<i8>,
}Fields§
§start_time: Option<u64>§duration: Option<u8>§nominal_power: Option<u8>§maximum_energy: Option<u8>§load_control: Option<i8>Trait Implementations§
Source§impl Debug for Constraints
impl Debug for Constraints
Auto Trait Implementations§
impl Freeze for Constraints
impl RefUnwindSafe for Constraints
impl Send for Constraints
impl Sync for Constraints
impl Unpin for Constraints
impl UnwindSafe for Constraints
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