pub struct OutputExport {
pub peak_energy_export: Option<u32>,
pub off_peak_energy_export: Option<u32>,
pub shoulder_energy_export: Option<u32>,
pub high_shoulder_energy_export: Option<u32>,
}Expand description
Energy export information for an Output.
Fields§
§peak_energy_export: Option<u32>Peak energy export in watt-hours.
off_peak_energy_export: Option<u32>Off-peak energy export in watt-hours.
shoulder_energy_export: Option<u32>Shoulder energy export in watt-hours.
high_shoulder_energy_export: Option<u32>High-shoulder energy export in watt-hours.
Trait Implementations§
Source§impl Clone for OutputExport
impl Clone for OutputExport
Source§fn clone(&self) -> OutputExport
fn clone(&self) -> OutputExport
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 moreSource§impl Debug for OutputExport
impl Debug for OutputExport
Source§impl Default for OutputExport
impl Default for OutputExport
Source§fn default() -> OutputExport
fn default() -> OutputExport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputExport
impl<'de> Deserialize<'de> for OutputExport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OutputExport
impl RefUnwindSafe for OutputExport
impl Send for OutputExport
impl Sync for OutputExport
impl Unpin for OutputExport
impl UnwindSafe for OutputExport
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