pub trait Validate {
    // Provided method
    fn validate(&self) -> Result<(), String> { ... }
}
Expand description

A trait that may be used in future to check invariants on IEEE 2030.5 data types

Provided Methods§

Implementors§

source§

impl Validate for ChargeKind

Available on crate feature billing only.
source§

impl Validate for DERCurveType

Available on crate feature der only.
source§

impl Validate for DERType

Available on crate feature der only.
source§

impl Validate for DERUnitRefType

Available on crate feature der only.
source§

impl Validate for PriorityType

Available on crate feature messaging only.
source§

impl Validate for PowerSourceType

Available on crate feature power_status only.
source§

impl Validate for CreditStatusType

Available on crate feature prepayment only.
source§

impl Validate for CreditTypeType

Available on crate feature prepayment only.
source§

impl Validate for PrepayModeType

Available on crate feature prepayment only.
source§

impl Validate for ServiceStatusType

Available on crate feature prepayment only.
source§

impl Validate for CostKindType

Available on crate feature pricing only.
source§

impl Validate for AccumulationBehaviourType

source§

impl Validate for ApplianceLoadReductionType

source§

impl Validate for CommodityType

source§

impl Validate for ConsumptionBlockType

source§

impl Validate for DataQualifierType

source§

impl Validate for FlowDirectionType

source§

impl Validate for KindType

source§

impl Validate for PhaseCode

source§

impl Validate for PowerOfTenMultiplierType

source§

impl Validate for PrimacyType

source§

impl Validate for ServiceKind

source§

impl Validate for SubscribableType

source§

impl Validate for TOUType

source§

impl Validate for UnitType

source§

impl Validate for UomType

source§

impl Validate for BillingMeterReadingBase

Available on crate feature billing only.
source§

impl Validate for BillingPeriod

Available on crate feature billing only.
source§

impl Validate for BillingPeriodList

Available on crate feature billing only.
source§

impl Validate for BillingReading

Available on crate feature billing only.
source§

impl Validate for BillingReadingList

Available on crate feature billing only.
source§

impl Validate for BillingReadingSet

Available on crate feature billing only.
source§

impl Validate for BillingReadingSetList

Available on crate feature billing only.
source§

impl Validate for Charge

Available on crate feature billing only.
source§

impl Validate for CustomerAccount

Available on crate feature billing only.
source§

impl Validate for CustomerAccountList

Available on crate feature billing only.
source§

impl Validate for CustomerAgreement

Available on crate feature billing only.
source§

impl Validate for CustomerAgreementList

Available on crate feature billing only.
source§

impl Validate for HistoricalReading

Available on crate feature billing only.
source§

impl Validate for HistoricalReadingList

Available on crate feature billing only.
source§

impl Validate for ProjectionReading

Available on crate feature billing only.
source§

impl Validate for ProjectionReadingList

Available on crate feature billing only.
source§

impl Validate for ServiceSupplier

Available on crate feature billing only.
source§

impl Validate for ServiceSupplierList

Available on crate feature billing only.
source§

impl Validate for TargetReading

Available on crate feature billing only.
source§

impl Validate for TargetReadingList

Available on crate feature billing only.
source§

impl Validate for Configuration

Available on crate feature configuration only.
source§

impl Validate for PowerConfiguration

Available on crate feature configuration only.
source§

impl Validate for PriceResponseCfg

Available on crate feature configuration only.
source§

impl Validate for PriceResponseCfgList

Available on crate feature configuration only.
source§

impl Validate for TimeConfiguration

Available on crate feature configuration only.
source§

impl Validate for ConnectionPoint

Available on crate feature csip_aus only.
source§

impl Validate for DeviceCapability

Available on crate feature dcap only.
source§

impl Validate for ActivePower

Available on crate feature der only.
source§

impl Validate for AmpereHour

Available on crate feature der only.
source§

impl Validate for ApparentPower

Available on crate feature der only.
source§

impl Validate for ConnectStatusType

Available on crate feature der only.
source§

impl Validate for CurrentRMS

Available on crate feature der only.
source§

impl Validate for CurveData

Available on crate feature der only.
source§

impl Validate for DER

Available on crate feature der only.
source§

impl Validate for DERAvailability

Available on crate feature der only.
source§

impl Validate for DERCapability

Available on crate feature der only.
source§

impl Validate for DERControl

Available on crate feature der only.
source§

impl Validate for DERControlBase

Available on crate feature der only.
source§

impl Validate for DERControlList

Available on crate feature der only.
source§

impl Validate for DERControlType

Available on crate feature der only.
source§

impl Validate for DERCurve

Available on crate feature der only.
source§

impl Validate for DERCurveList

Available on crate feature der only.
source§

impl Validate for DERList

Available on crate feature der only.
source§

impl Validate for DERProgram

Available on crate feature der only.
source§

impl Validate for DERProgramList

Available on crate feature der only.
source§

impl Validate for DERSettings

Available on crate feature der only.
source§

impl Validate for DERStatus

Available on crate feature der only.
source§

impl Validate for DefaultDERControl

Available on crate feature der only.
source§

impl Validate for FixedPointType

Available on crate feature der only.
source§

impl Validate for FixedVar

Available on crate feature der only.
source§

impl Validate for FreqDroopType

Available on crate feature der only.
source§

impl Validate for InverterStatusType

Available on crate feature der only.
source§

impl Validate for LocalControlModeStatusType

Available on crate feature der only.
source§

impl Validate for ManufacturerStatusType

Available on crate feature der only.
source§

impl Validate for OperationalModeStatusType

Available on crate feature der only.
source§

impl Validate for PowerFactor

Available on crate feature der only.
source§

impl Validate for PowerFactorWithExcitation

Available on crate feature der only.
source§

impl Validate for ReactivePower

Available on crate feature der only.
source§

impl Validate for ReactiveSusceptance

Available on crate feature der only.
source§

impl Validate for StateOfChargeStatusType

Available on crate feature der only.
source§

impl Validate for StorageModeStatusType

Available on crate feature der only.
source§

impl Validate for UnsignedFixedPointType

Available on crate feature der only.
source§

impl Validate for VoltageRMS

Available on crate feature der only.
source§

impl Validate for WattHour

Available on crate feature der only.
source§

impl Validate for DRLCCapabilities

Available on crate feature di only.
source§

impl Validate for DeviceInformation

Available on crate feature di only.
source§

impl Validate for SupportedLocale

Available on crate feature di only.
source§

impl Validate for SupportedLocaleList

Available on crate feature di only.
source§

impl Validate for ApplianceLoadReduction

Available on crate feature drlc only.
source§

impl Validate for DemandResponseProgram

Available on crate feature drlc only.
source§

impl Validate for DemandResponseProgramList

Available on crate feature drlc only.
source§

impl Validate for DutyCycle

Available on crate feature drlc only.
source§

impl Validate for EndDeviceControl

Available on crate feature drlc only.
source§

impl Validate for EndDeviceControlList

Available on crate feature drlc only.
source§

impl Validate for LoadShedAvailability

Available on crate feature drlc only.
source§

impl Validate for LoadShedAvailabilityList

Available on crate feature drlc only.
source§

impl Validate for Offset

Available on crate feature drlc only.
source§

impl Validate for SetPoint

Available on crate feature drlc only.
source§

impl Validate for TargetReduction

Available on crate feature drlc only.
source§

impl Validate for AbstractDevice

Available on crate feature edev only.
source§

impl Validate for DeviceStatus

Available on crate feature edev only.
source§

impl Validate for EndDevice

Available on crate feature edev only.
source§

impl Validate for EndDeviceList

Available on crate feature edev only.
source§

impl Validate for Registration

Available on crate feature edev only.
source§

impl Validate for SelfDevice

Available on crate feature edev only.
source§

impl Validate for Temperature

Available on crate feature edev only.
source§

impl Validate for FlowReservationRequest

Available on crate feature flow_reservation only.
source§

impl Validate for FlowReservationRequestList

Available on crate feature flow_reservation only.
source§

impl Validate for FlowReservationResponse

Available on crate feature flow_reservation only.
source§

impl Validate for FlowReservationResponseList

Available on crate feature flow_reservation only.
source§

impl Validate for RequestStatus

Available on crate feature flow_reservation only.
source§

impl Validate for FunctionSetAssignments

Available on crate feature fsa only.
source§

impl Validate for FunctionSetAssignmentsBase

Available on crate feature fsa only.
source§

impl Validate for FunctionSetAssignmentsList

Available on crate feature fsa only.
source§

impl Validate for IdentifiedObject

source§

impl Validate for List

source§

impl Validate for Resource

source§

impl Validate for RespondableIdentifiedObject

source§

impl Validate for RespondableResource

source§

impl Validate for RespondableSubscribableIdentifiedObject

source§

impl Validate for Response

source§

impl Validate for SubscribableIdentifiedObject

source§

impl Validate for SubscribableList

source§

impl Validate for SubscribableResource

source§

impl Validate for LogEvent

Available on crate feature log_events only.
source§

impl Validate for LogEventList

Available on crate feature log_events only.
source§

impl Validate for MessagingProgram

Available on crate feature messaging only.
source§

impl Validate for MessagingProgramList

Available on crate feature messaging only.
source§

impl Validate for TextMessage

Available on crate feature messaging only.
source§

impl Validate for TextMessageList

Available on crate feature messaging only.
source§

impl Validate for MeterReading

Available on crate feature metering only.
source§

impl Validate for MeterReadingList

Available on crate feature metering only.
source§

impl Validate for Reading

Available on crate feature metering only.
source§

impl Validate for ReadingList

Available on crate feature metering only.
source§

impl Validate for ReadingSet

Available on crate feature metering only.
source§

impl Validate for ReadingSetList

Available on crate feature metering only.
source§

impl Validate for ReadingType

Available on crate feature metering only.
source§

impl Validate for UsagePoint

Available on crate feature metering only.
source§

impl Validate for UsagePointList

Available on crate feature metering only.
source§

impl Validate for MeterReadingBase

Available on crate feature metering_mirror only.
source§

impl Validate for MirrorMeterReading

Available on crate feature metering_mirror only.
source§

impl Validate for MirrorMeterReadingList

Available on crate feature metering_mirror only.
source§

impl Validate for MirrorReadingSet

Available on crate feature metering_mirror only.
source§

impl Validate for MirrorUsagePoint

Available on crate feature metering_mirror only.
source§

impl Validate for MirrorUsagePointList

Available on crate feature metering_mirror only.
source§

impl Validate for ReadingBase

Available on crate feature metering_mirror only.
source§

impl Validate for ReadingSetBase

Available on crate feature metering_mirror only.
source§

impl Validate for UsagePointBase

Available on crate feature metering_mirror only.
source§

impl Validate for IEEE802154

Available on crate feature network_status only.
source§

impl Validate for IPAddr

Available on crate feature network_status only.
source§

impl Validate for IPAddrList

Available on crate feature network_status only.
source§

impl Validate for IPInterface

Available on crate feature network_status only.
source§

impl Validate for IPInterfaceList

Available on crate feature network_status only.
source§

impl Validate for LLInterface

Available on crate feature network_status only.
source§

impl Validate for LlinterfaceList

Available on crate feature network_status only.
source§

impl Validate for LoWPAN

Available on crate feature network_status only.
source§

impl Validate for Neighbor

Available on crate feature network_status only.
source§

impl Validate for NeighborList

Available on crate feature network_status only.
source§

impl Validate for RPLInstance

Available on crate feature network_status only.
source§

impl Validate for RPLInstanceList

Available on crate feature network_status only.
source§

impl Validate for RPLSourceRoutes

Available on crate feature network_status only.
source§

impl Validate for RPLSourceRoutesList

Available on crate feature network_status only.
source§

impl Validate for Error

source§

impl Validate for Event

source§

impl Validate for EventStatus

source§

impl Validate for RandomizableEvent

source§

impl Validate for Pevinfo

Available on crate feature power_status only.
source§

impl Validate for PowerStatus

Available on crate feature power_status only.
source§

impl Validate for AccountBalance

Available on crate feature prepayment only.
source§

impl Validate for AccountingUnit

Available on crate feature prepayment only.
source§

impl Validate for CreditRegister

Available on crate feature prepayment only.
source§

impl Validate for CreditRegisterList

Available on crate feature prepayment only.
source§

impl Validate for CreditTypeChange

Available on crate feature prepayment only.
source§

impl Validate for PrepayOperationStatus

Available on crate feature prepayment only.
source§

impl Validate for Prepayment

Available on crate feature prepayment only.
source§

impl Validate for PrepaymentList

Available on crate feature prepayment only.
source§

impl Validate for ServiceChange

Available on crate feature prepayment only.
source§

impl Validate for SupplyInterruptionOverride

Available on crate feature prepayment only.
source§

impl Validate for SupplyInterruptionOverrideList

Available on crate feature prepayment only.
source§

impl Validate for ConsumptionTariffInterval

Available on crate feature pricing only.
source§

impl Validate for ConsumptionTariffIntervalList

Available on crate feature pricing only.
source§

impl Validate for EnvironmentalCost

Available on crate feature pricing only.
source§

impl Validate for RateComponent

Available on crate feature pricing only.
source§

impl Validate for RateComponentList

Available on crate feature pricing only.
source§

impl Validate for TariffProfile

Available on crate feature pricing only.
source§

impl Validate for TariffProfileList

Available on crate feature pricing only.
source§

impl Validate for TimeTariffInterval

Available on crate feature pricing only.
source§

impl Validate for TimeTariffIntervalList

Available on crate feature pricing only.
source§

impl Validate for HexBinary8

source§

impl Validate for HexBinary16

source§

impl Validate for HexBinary32

source§

impl Validate for HexBinary48

source§

impl Validate for HexBinary64

source§

impl Validate for HexBinary128

source§

impl Validate for HexBinary160

source§

impl Validate for Int8

source§

impl Validate for Int16

source§

impl Validate for Int32

source§

impl Validate for Int48

source§

impl Validate for Int64

source§

impl Validate for LFDI

source§

impl Validate for String6

source§

impl Validate for String16

source§

impl Validate for String20

source§

impl Validate for String32

source§

impl Validate for String42

source§

impl Validate for String192

source§

impl Validate for Uint8

source§

impl Validate for Uint16

source§

impl Validate for Uint32

source§

impl Validate for Uint40

source§

impl Validate for Uint48

source§

impl Validate for Uint64

source§

impl Validate for Condition

Available on crate feature pubsub only.
source§

impl Validate for Subscription

Available on crate feature pubsub only.
source§

impl Validate for SubscriptionBase

Available on crate feature pubsub only.
source§

impl Validate for SubscriptionList

Available on crate feature pubsub only.
source§

impl Validate for AppliedTargetReduction

Available on crate features response and drlc only.
source§

impl Validate for DERControlResponse

Available on crate feature response only.
source§

impl Validate for DrResponse

Available on crate features response and drlc only.
source§

impl Validate for FlowReservationResponseResponse

Available on crate features response and flow_reservation only.
source§

impl Validate for PriceResponse

Available on crate feature response only.
source§

impl Validate for ResponseSet

Available on crate feature response only.
source§

impl Validate for ResponseSetList

Available on crate feature response only.
source§

impl Validate for TextResponse

Available on crate feature response only.
source§

impl Validate for File

Available on crate feature software_download only.
source§

impl Validate for FileList

Available on crate feature software_download only.
source§

impl Validate for FileStatus

Available on crate feature software_download only.
source§

impl Validate for Time

Available on crate feature time only.
source§

impl Validate for DateTimeInterval

source§

impl Validate for DeviceCategoryType

source§

impl Validate for DstRuleType

source§

impl Validate for GPSLocationType

source§

impl Validate for OneHourRangeType

source§

impl Validate for PINType

source§

impl Validate for Percent

source§

impl Validate for RealEnergy

source§

impl Validate for RoleFlagsType

source§

impl Validate for SFDIType

source§

impl Validate for SignedPercent

source§

impl Validate for SignedRealEnergy

source§

impl Validate for UnitValueType

source§

impl<T: SEResource + Eq> Validate for NotificationList<T>

Available on crate feature pubsub only.
source§

impl<T: SEResource> Validate for Notification<T>

Available on crate feature pubsub only.
source§

impl<T: SEResponse + Ord> Validate for ResponseList<T>

Available on crate feature response only.