pub struct DERStatus {
    pub alarm_status: Option<DERAlarmStatus>,
    pub gen_connect_status: Option<ConnectStatusType>,
    pub inverter_status: Option<InverterStatusType>,
    pub local_control_mode_status: Option<LocalControlModeStatusType>,
    pub manufacturer_status: Option<ManufacturerStatusType>,
    pub operational_mode_status: Option<OperationalModeStatusType>,
    pub reading_time: TimeType,
    pub state_of_charge_status: Option<StateOfChargeStatusType>,
    pub storage_mode_status: Option<StorageModeStatusType>,
    pub stor_connect_status: Option<ConnectStatusType>,
    pub subscribable: Option<SubscribableType>,
    pub href: Option<String>,
}
Available on crate feature der only.

Fields§

§alarm_status: Option<DERAlarmStatus>

Bitmap indicating the status of DER alarms (see DER LogEvents for more details). 0 - DER_FAULT_OVER_CURRENT 1 - DER_FAULT_OVER_VOLTAGE 2 - DER_FAULT_UNDER_VOLTAGE 3 - DER_FAULT_OVER_FREQUENCY 4 - DER_FAULT_UNDER_FREQUENCY 5 - DER_FAULT_VOLTAGE_IMBALANCE 6 - DER_FAULT_CURRENT_IMBALANCE 7 - DER_FAULT_EMERGENCY_LOCAL 8 - DER_FAULT_EMERGENCY_REMOTE 9 - DER_FAULT_LOW_POWER_INPUT 10 - DER_FAULT_PHASE_ROTATION 11-31 - Reserved

§gen_connect_status: Option<ConnectStatusType>

Connect/status value for generator DER. See ConnectStatusType for values.

§inverter_status: Option<InverterStatusType>

DER InverterStatus/value. See InverterStatusType for values.

§local_control_mode_status: Option<LocalControlModeStatusType>

The local control mode status. See LocalControlModeStatusType for values.

§manufacturer_status: Option<ManufacturerStatusType>

Manufacturer status code.

§operational_mode_status: Option<OperationalModeStatusType>

Operational mode currently in use. See OperationalModeStatusType for values.

§reading_time: TimeType

The timestamp when the current status was last updated.

§state_of_charge_status: Option<StateOfChargeStatusType>

State of charge status. See StateOfChargeStatusType for values.

§storage_mode_status: Option<StorageModeStatusType>

Storage mode status. See StorageModeStatusType for values.

§stor_connect_status: Option<ConnectStatusType>

Connect/status value for storage DER. See ConnectStatusType for values.

§subscribable: Option<SubscribableType>

Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is “not subscribable” (0).

§href: Option<String>

A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.

Trait Implementations§

source§

impl Clone for DERStatus

source§

fn clone(&self) -> DERStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DERStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DERStatus

source§

fn default() -> DERStatus

Returns the “default value” for a type. Read more
source§

impl PartialEq<DERStatus> for DERStatus

source§

fn eq(&self, other: &DERStatus) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl SEResource for DERStatus

source§

fn href(&self) -> Option<&str>

source§

impl SESubscribableResource for DERStatus

source§

impl Validate for DERStatus

source§

impl YaDeserialize for DERStatus

source§

fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>where Self: Sized,

source§

impl YaSerialize for DERStatus

source§

fn name() -> &'static strwhere Self: Sized,

source§

fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,

source§

fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,

source§

impl Eq for DERStatus

source§

impl StructuralEq for DERStatus

source§

impl StructuralPartialEq for DERStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> SEType for Twhere T: YaSerialize + YaDeserialize + Validate + RefUnwindSafe + Send + Sync + 'static,