[][src]Struct morningstar::prostar_mppt::Stats

pub struct Stats {
    pub timestamp: DateTime<Local>,
    pub software_version: u16,
    pub battery_voltage_settings_multiplier: u16,
    pub supply_3v3: ElectricPotential,
    pub supply_12v: ElectricPotential,
    pub supply_5v: ElectricPotential,
    pub gate_drive_voltage: ElectricPotential,
    pub battery_terminal_voltage: ElectricPotential,
    pub array_voltage: ElectricPotential,
    pub load_voltage: ElectricPotential,
    pub charge_current: ElectricCurrent,
    pub array_current: ElectricCurrent,
    pub load_current: ElectricCurrent,
    pub battery_current_net: ElectricCurrent,
    pub battery_sense_voltage: ElectricPotential,
    pub meterbus_voltage: ElectricPotential,
    pub heatsink_temperature: ThermodynamicTemperature,
    pub battery_temperature: ThermodynamicTemperature,
    pub ambient_temperature: ThermodynamicTemperature,
    pub rts_temperature: Option<ThermodynamicTemperature>,
    pub u_inductor_temperature: ThermodynamicTemperature,
    pub v_inductor_temperature: ThermodynamicTemperature,
    pub w_inductor_temperature: ThermodynamicTemperature,
    pub charge_state: ChargeState,
    pub array_faults: ArrayFaults,
    pub battery_voltage_slow: ElectricPotential,
    pub target_voltage: ElectricPotential,
    pub ah_charge_resettable: ElectricCharge,
    pub ah_charge_total: ElectricCharge,
    pub kwh_charge_resettable: Energy,
    pub kwh_charge_total: Energy,
    pub load_state: LoadState,
    pub load_faults: LoadFaults,
    pub lvd_setpoint: ElectricPotential,
    pub ah_load_resettable: ElectricCharge,
    pub ah_load_total: ElectricCharge,
    pub hourmeter: Time,
    pub alarms: Alarms,
    pub array_power: Power,
    pub array_vmp: ElectricPotential,
    pub array_max_power_sweep: ElectricPotential,
    pub array_voc: ElectricPotential,
    pub battery_v_min_daily: ElectricPotential,
    pub battery_v_max_daily: ElectricPotential,
    pub ah_charge_daily: ElectricCharge,
    pub ah_load_daily: ElectricCharge,
    pub array_faults_daily: ArrayFaults,
    pub load_faults_daily: LoadFaults,
    pub alarms_daily: Alarms,
    pub array_voltage_max_daily: ElectricPotential,
    pub array_voltage_fixed: ElectricPotential,
    pub array_voc_percent_fixed: f32,
}

Charge controller statistics

Fields

timestamp: DateTime<Local>software_version: u16battery_voltage_settings_multiplier: u16supply_3v3: ElectricPotentialsupply_12v: ElectricPotentialsupply_5v: ElectricPotentialgate_drive_voltage: ElectricPotentialbattery_terminal_voltage: ElectricPotentialarray_voltage: ElectricPotentialload_voltage: ElectricPotentialcharge_current: ElectricCurrentarray_current: ElectricCurrentload_current: ElectricCurrentbattery_current_net: ElectricCurrentbattery_sense_voltage: ElectricPotentialmeterbus_voltage: ElectricPotentialheatsink_temperature: ThermodynamicTemperaturebattery_temperature: ThermodynamicTemperatureambient_temperature: ThermodynamicTemperaturerts_temperature: Option<ThermodynamicTemperature>u_inductor_temperature: ThermodynamicTemperaturev_inductor_temperature: ThermodynamicTemperaturew_inductor_temperature: ThermodynamicTemperaturecharge_state: ChargeStatearray_faults: ArrayFaultsbattery_voltage_slow: ElectricPotentialtarget_voltage: ElectricPotentialah_charge_resettable: ElectricChargeah_charge_total: ElectricChargekwh_charge_resettable: Energykwh_charge_total: Energyload_state: LoadStateload_faults: LoadFaultslvd_setpoint: ElectricPotentialah_load_resettable: ElectricChargeah_load_total: ElectricChargehourmeter: Timealarms: Alarmsarray_power: Powerarray_vmp: ElectricPotentialarray_max_power_sweep: ElectricPotentialarray_voc: ElectricPotentialbattery_v_min_daily: ElectricPotentialbattery_v_max_daily: ElectricPotentialah_charge_daily: ElectricChargeah_load_daily: ElectricChargearray_faults_daily: ArrayFaultsload_faults_daily: LoadFaultsalarms_daily: Alarmsarray_voltage_max_daily: ElectricPotentialarray_voltage_fixed: ElectricPotentialarray_voc_percent_fixed: f32

Trait Implementations

impl Copy for Stats[src]

impl Clone for Stats[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Stats[src]

impl Display for Stats[src]

impl Serialize for Stats[src]

impl<'de> Deserialize<'de> for Stats[src]

Auto Trait Implementations

impl Send for Stats

impl !Unpin for Stats

impl Sync for Stats

impl !UnwindSafe for Stats

impl !RefUnwindSafe for Stats

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]