pub struct Ceiling {
pub limit: Decimal,
pub unit: RateUnit,
pub phases: Option<u8>,
}Expand description
One slot’s ceiling: the most the EV may draw during it.
Fields§
§limit: DecimalThe limit: in W the sum of all phases, in A per phase (2.1 §2.18).
unit: RateUnitThe unit of limit.
phases: Option<u8>How many phases may be used, 1–3; None lets the station assume 3 (K01.FR.49).
Implementations§
Trait Implementations§
impl Copy for Ceiling
impl Eq for Ceiling
impl StructuralPartialEq for Ceiling
Auto Trait Implementations§
impl Forget for Ceiling
impl Freeze for Ceiling
impl Move for Ceiling
impl RefUnwindSafe for Ceiling
impl Send for Ceiling
impl Sync for Ceiling
impl Unpin for Ceiling
impl UnsafeUnpin for Ceiling
impl UnwindSafe for Ceiling
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