pub enum EnumValue {
Show 26 variants
V211Capability(Capability),
V211ConnectorFormat(ConnectorFormat),
V211PowerType(PowerType),
V211ConnectorType(ConnectorType),
V211ParkingRestriction(ParkingRestriction),
V211Status(Status),
V211Facility(Facility),
V211LocationType(LocationType),
V211AuthMethod(AuthMethod),
V211CdrDimensionType(CdrDimensionType),
V211TariffDimensionType(TariffDimensionType),
V211DayOfWeek(DayOfWeek),
V211EnergySourceCategory(EnergySourceCategory),
V211EnvironmentalImpactCategory(EnvironmentalImpactCategory),
V221TokenType(TokenType),
V221ConnectorFormat(ConnectorFormat),
V221PowerType(PowerType),
V221ConnectorType(ConnectorType),
V221AuthMethod(AuthMethod),
V221CdrDimensionType(CdrDimensionType),
V221TariffDimensionType(TariffDimensionType),
V221DayOfWeek(DayOfWeek),
V221ReservationRestrictionType(ReservationRestrictionType),
V221TariffType(TariffType),
V221EnergySourceCategory(EnergySourceCategory),
V221EnvironmentalImpactCategory(EnvironmentalImpactCategory),
}Expand description
The typed value of any OCPI enum that appears in the CDR/Tariff graph, across both supported spec versions.
Each variant wraps the version-specific Rust enum (the variants, and in some cases the variant set, differ between 2.1.1 and 2.2.1).
Variants§
V211Capability(Capability)
V211ConnectorFormat(ConnectorFormat)
V211PowerType(PowerType)
V211ConnectorType(ConnectorType)
V211ParkingRestriction(ParkingRestriction)
V211Status(Status)
V211Facility(Facility)
V211LocationType(LocationType)
V211AuthMethod(AuthMethod)
V211CdrDimensionType(CdrDimensionType)
V211TariffDimensionType(TariffDimensionType)
V211DayOfWeek(DayOfWeek)
V211EnergySourceCategory(EnergySourceCategory)
V211EnvironmentalImpactCategory(EnvironmentalImpactCategory)
V221TokenType(TokenType)
V221ConnectorFormat(ConnectorFormat)
V221PowerType(PowerType)
V221ConnectorType(ConnectorType)
V221AuthMethod(AuthMethod)
V221CdrDimensionType(CdrDimensionType)
V221TariffDimensionType(TariffDimensionType)
V221DayOfWeek(DayOfWeek)
V221ReservationRestrictionType(ReservationRestrictionType)
V221TariffType(TariffType)
V221EnergySourceCategory(EnergySourceCategory)
V221EnvironmentalImpactCategory(EnvironmentalImpactCategory)
Trait Implementations§
impl Copy for EnumValue
impl Eq for EnumValue
impl StructuralPartialEq for EnumValue
Auto Trait Implementations§
impl Freeze for EnumValue
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin for EnumValue
impl UnsafeUnpin for EnumValue
impl UnwindSafe for EnumValue
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