pub struct Insolation {
pub time: Time,
pub power: u32,
pub energy: u32,
}Expand description
Insolation data.
Returned by the get_insolation endpoint.
Fields§
§time: TimeTime for the calculated insolation data.
power: u32Power in watts.
energy: u32Energy in watt-hours.
Trait Implementations§
Source§impl Clone for Insolation
impl Clone for Insolation
Source§fn clone(&self) -> Insolation
fn clone(&self) -> Insolation
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 Insolation
impl Debug for Insolation
Source§impl<'de> Deserialize<'de> for Insolation
impl<'de> Deserialize<'de> for Insolation
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 Insolation
impl RefUnwindSafe for Insolation
impl Send for Insolation
impl Sync for Insolation
impl Unpin for Insolation
impl UnwindSafe for Insolation
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