pub enum ComponentCategory {
Show 19 variants
Unspecified,
GridConnectionPoint,
Meter,
Inverter(InverterType),
Converter,
Battery(BatteryType),
EvCharger(EvChargerType),
Breaker,
Precharger,
Chp,
Electrolyzer,
PowerTransformer,
Hvac,
Plc,
CryptoMiner,
StaticTransferSwitch,
UninterruptiblePowerSupply,
CapacitorBank,
WindTurbine,
}Expand description
Represents the category of a component.
Values of the underlying generated ComponentCategory and ComponentType types
need to be converted to this type, so that they can be used in the
ComponentGraph.
Variants§
Unspecified
GridConnectionPoint
Meter
Inverter(InverterType)
Converter
Battery(BatteryType)
EvCharger(EvChargerType)
Breaker
Precharger
Chp
Electrolyzer
PowerTransformer
Hvac
Plc
CryptoMiner
StaticTransferSwitch
UninterruptiblePowerSupply
CapacitorBank
WindTurbine
Trait Implementations§
Source§impl Clone for ComponentCategory
impl Clone for ComponentCategory
Source§fn clone(&self) -> ComponentCategory
fn clone(&self) -> ComponentCategory
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 ComponentCategory
impl Debug for ComponentCategory
Source§impl Display for ComponentCategory
impl Display for ComponentCategory
Source§impl PartialEq for ComponentCategory
impl PartialEq for ComponentCategory
impl Copy for ComponentCategory
impl StructuralPartialEq for ComponentCategory
Auto Trait Implementations§
impl Freeze for ComponentCategory
impl RefUnwindSafe for ComponentCategory
impl Send for ComponentCategory
impl Sync for ComponentCategory
impl Unpin for ComponentCategory
impl UnwindSafe for ComponentCategory
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