pub struct PeriodDemand { /* private fields */ }Implementations§
Source§impl PeriodDemand
impl PeriodDemand
pub fn period(&self) -> &CostPeriod
pub fn peaks(&self) -> &PeakDemands
Trait Implementations§
Source§impl Clone for PeriodDemand
impl Clone for PeriodDemand
Source§fn clone(&self) -> PeriodDemand
fn clone(&self) -> PeriodDemand
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 moreAuto Trait Implementations§
impl Freeze for PeriodDemand
impl RefUnwindSafe for PeriodDemand
impl Send for PeriodDemand
impl Sync for PeriodDemand
impl Unpin for PeriodDemand
impl UnwindSafe for PeriodDemand
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