pub struct System {Show 15 fields
pub name: String,
pub size: u64,
pub postcode: Option<String>,
pub panels: Option<u32>,
pub panel_power: Option<u32>,
pub brand: Option<String>,
pub inverters: Option<u32>,
pub inverter_power: Option<u64>,
pub inverter_brand: Option<String>,
pub orientation: Option<Orientation>,
pub tilt: Option<f32>,
pub shade: Option<Shade>,
pub install_date: Option<Date>,
pub latitude: Option<f32>,
pub longitude: Option<f32>,
}Expand description
Common system information.
Returned by the get_system and
get_favourites endpoints.
Fields§
§name: StringSystem name.
size: u64System size in watts.
postcode: Option<String>Postcode or Zipcode.
panels: Option<u32>Number of panels in the primary array.
panel_power: Option<u32>Power of each panel in the primary array in watts.
brand: Option<String>Panel brand.
inverters: Option<u32>Number of inverters.
inverter_power: Option<u64>Inverter power in watts.
inverter_brand: Option<String>Inverter brand.
orientation: Option<Orientation>Orientation of the primary solar array.
tilt: Option<f32>Tilt of the primary solar array.
shade: Option<Shade>System shade level.
install_date: Option<Date>System installation date.
latitude: Option<f32>System location latitude.
longitude: Option<f32>System location longitude.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for System
impl<'de> Deserialize<'de> for System
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 System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
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