Enum sep2_common::packages::der::DERType
source · #[repr(u8)]pub enum DERType {
Unknown = 0,
VirtualOrMixedDER = 1,
ReciprocatingEngine = 2,
FuelCell = 3,
PhotovoltaicSystem = 4,
HeatAndPower = 5,
OtherGeneration = 6,
OtherStorage = 80,
ElectricVehicle = 81,
EVSE = 82,
CombinedPVAndStorage = 83,
}
Available on crate feature
der
only.Variants§
Unknown = 0
Not applicable / Unknown
VirtualOrMixedDER = 1
ReciprocatingEngine = 2
FuelCell = 3
PhotovoltaicSystem = 4
HeatAndPower = 5
OtherGeneration = 6
Other generation system
OtherStorage = 80
Other storage system
ElectricVehicle = 81
EVSE = 82
CombinedPVAndStorage = 83
Trait Implementations§
source§impl PartialEq<DERType> for DERType
impl PartialEq<DERType> for DERType
source§impl YaSerialize for DERType
impl YaSerialize for DERType
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Copy for DERType
impl Eq for DERType
impl StructuralEq for DERType
impl StructuralPartialEq for DERType
Auto Trait Implementations§
impl RefUnwindSafe for DERType
impl Send for DERType
impl Sync for DERType
impl Unpin for DERType
impl UnwindSafe for DERType
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