Trait sep2_common::traits::SEList
source · pub trait SEList: SEResource {
type Inner: Ord;
// Required methods
fn all(&self) -> Uint32;
fn all_mut(&mut self) -> &mut Uint32;
fn results(&self) -> Uint32;
fn results_mut(&mut self) -> &mut Uint32;
fn list_as_slice(&self) -> &[Self::Inner];
fn list_mut(&mut self) -> &mut Vec<Self::Inner>;
// Provided methods
fn add(&mut self, item: Self::Inner) { ... }
fn remove(&mut self, idx: usize) -> Self::Inner { ... }
}
Expand description
Implemented by all types whose base type is List
Required Associated Types§
Required Methods§
fn all(&self) -> Uint32
fn all_mut(&mut self) -> &mut Uint32
fn results(&self) -> Uint32
fn results_mut(&mut self) -> &mut Uint32
fn list_as_slice(&self) -> &[Self::Inner]
fn list_mut(&mut self) -> &mut Vec<Self::Inner>
Provided Methods§
Implementors§
source§impl SEList for BillingPeriodList
Available on crate feature billing
only.
impl SEList for BillingPeriodList
Available on crate feature
billing
only.type Inner = BillingPeriod
source§impl SEList for BillingReadingList
Available on crate feature billing
only.
impl SEList for BillingReadingList
Available on crate feature
billing
only.type Inner = BillingReading
source§impl SEList for BillingReadingSetList
Available on crate feature billing
only.
impl SEList for BillingReadingSetList
Available on crate feature
billing
only.type Inner = BillingReadingSet
source§impl SEList for CustomerAccountList
Available on crate feature billing
only.
impl SEList for CustomerAccountList
Available on crate feature
billing
only.type Inner = CustomerAccount
source§impl SEList for CustomerAgreementList
Available on crate feature billing
only.
impl SEList for CustomerAgreementList
Available on crate feature
billing
only.type Inner = CustomerAgreement
source§impl SEList for HistoricalReadingList
Available on crate feature billing
only.
impl SEList for HistoricalReadingList
Available on crate feature
billing
only.type Inner = HistoricalReading
source§impl SEList for ProjectionReadingList
Available on crate feature billing
only.
impl SEList for ProjectionReadingList
Available on crate feature
billing
only.type Inner = ProjectionReading
source§impl SEList for ServiceSupplierList
Available on crate feature billing
only.
impl SEList for ServiceSupplierList
Available on crate feature
billing
only.type Inner = ServiceSupplier
source§impl SEList for TargetReadingList
Available on crate feature billing
only.
impl SEList for TargetReadingList
Available on crate feature
billing
only.type Inner = TargetReading
source§impl SEList for PriceResponseCfgList
Available on crate feature configuration
only.
impl SEList for PriceResponseCfgList
Available on crate feature
configuration
only.type Inner = PriceResponseCfg
source§impl SEList for DERControlList
Available on crate feature der
only.
impl SEList for DERControlList
Available on crate feature
der
only.type Inner = DERControl
source§impl SEList for DERProgramList
Available on crate feature der
only.
impl SEList for DERProgramList
Available on crate feature
der
only.type Inner = DERProgram
source§impl SEList for SupportedLocaleList
Available on crate feature di
only.
impl SEList for SupportedLocaleList
Available on crate feature
di
only.type Inner = SupportedLocale
source§impl SEList for DemandResponseProgramList
Available on crate feature drlc
only.
impl SEList for DemandResponseProgramList
Available on crate feature
drlc
only.type Inner = DemandResponseProgram
source§impl SEList for EndDeviceControlList
Available on crate feature drlc
only.
impl SEList for EndDeviceControlList
Available on crate feature
drlc
only.type Inner = EndDeviceControl
source§impl SEList for LoadShedAvailabilityList
Available on crate feature drlc
only.
impl SEList for LoadShedAvailabilityList
Available on crate feature
drlc
only.type Inner = LoadShedAvailability
source§impl SEList for FlowReservationRequestList
Available on crate feature flow_reservation
only.
impl SEList for FlowReservationRequestList
Available on crate feature
flow_reservation
only.type Inner = FlowReservationRequest
source§impl SEList for FlowReservationResponseList
Available on crate feature flow_reservation
only.
impl SEList for FlowReservationResponseList
Available on crate feature
flow_reservation
only.type Inner = FlowReservationResponse
source§impl SEList for FunctionSetAssignmentsList
Available on crate feature fsa
only.
impl SEList for FunctionSetAssignmentsList
Available on crate feature
fsa
only.type Inner = FunctionSetAssignments
source§impl SEList for LogEventList
Available on crate feature log_events
only.
impl SEList for LogEventList
Available on crate feature
log_events
only.source§impl SEList for MessagingProgramList
Available on crate feature messaging
only.
impl SEList for MessagingProgramList
Available on crate feature
messaging
only.type Inner = MessagingProgram
source§impl SEList for MeterReadingList
Available on crate feature metering
only.
impl SEList for MeterReadingList
Available on crate feature
metering
only.type Inner = MeterReading
source§impl SEList for ReadingSetList
Available on crate feature metering
only.
impl SEList for ReadingSetList
Available on crate feature
metering
only.type Inner = ReadingSet
source§impl SEList for UsagePointList
Available on crate feature metering
only.
impl SEList for UsagePointList
Available on crate feature
metering
only.type Inner = UsagePoint
source§impl SEList for MirrorMeterReadingList
Available on crate feature metering_mirror
only.
impl SEList for MirrorMeterReadingList
Available on crate feature
metering_mirror
only.type Inner = MirrorMeterReading
source§impl SEList for MirrorUsagePointList
Available on crate feature metering_mirror
only.
impl SEList for MirrorUsagePointList
Available on crate feature
metering_mirror
only.type Inner = MirrorUsagePoint
source§impl SEList for IPAddrList
Available on crate feature network_status
only.
impl SEList for IPAddrList
Available on crate feature
network_status
only.source§impl SEList for IPInterfaceList
Available on crate feature network_status
only.
impl SEList for IPInterfaceList
Available on crate feature
network_status
only.type Inner = IPInterface
source§impl SEList for LlinterfaceList
Available on crate feature network_status
only.
impl SEList for LlinterfaceList
Available on crate feature
network_status
only.type Inner = LLInterface
source§impl SEList for NeighborList
Available on crate feature network_status
only.
impl SEList for NeighborList
Available on crate feature
network_status
only.source§impl SEList for RPLInstanceList
Available on crate feature network_status
only.
impl SEList for RPLInstanceList
Available on crate feature
network_status
only.type Inner = RPLInstance
source§impl SEList for RPLSourceRoutesList
Available on crate feature network_status
only.
impl SEList for RPLSourceRoutesList
Available on crate feature
network_status
only.type Inner = RPLSourceRoutes
source§impl SEList for CreditRegisterList
Available on crate feature prepayment
only.
impl SEList for CreditRegisterList
Available on crate feature
prepayment
only.type Inner = CreditRegister
source§impl SEList for PrepaymentList
Available on crate feature prepayment
only.
impl SEList for PrepaymentList
Available on crate feature
prepayment
only.type Inner = Prepayment
source§impl SEList for SupplyInterruptionOverrideList
Available on crate feature prepayment
only.
impl SEList for SupplyInterruptionOverrideList
Available on crate feature
prepayment
only.type Inner = SupplyInterruptionOverride
source§impl SEList for ConsumptionTariffIntervalList
Available on crate feature pricing
only.
impl SEList for ConsumptionTariffIntervalList
Available on crate feature
pricing
only.type Inner = ConsumptionTariffInterval
source§impl SEList for RateComponentList
Available on crate feature pricing
only.
impl SEList for RateComponentList
Available on crate feature
pricing
only.type Inner = RateComponent
source§impl SEList for TariffProfileList
Available on crate feature pricing
only.
impl SEList for TariffProfileList
Available on crate feature
pricing
only.type Inner = TariffProfile
source§impl SEList for TimeTariffIntervalList
Available on crate feature pricing
only.
impl SEList for TimeTariffIntervalList
Available on crate feature
pricing
only.type Inner = TimeTariffInterval
source§impl SEList for SubscriptionList
Available on crate feature pubsub
only.
impl SEList for SubscriptionList
Available on crate feature
pubsub
only.type Inner = Subscription
source§impl SEList for ResponseSetList
Available on crate feature response
only.
impl SEList for ResponseSetList
Available on crate feature
response
only.type Inner = ResponseSet
source§impl<T: SEResource + Eq> SEList for NotificationList<T>
Available on crate feature pubsub
only.
impl<T: SEResource + Eq> SEList for NotificationList<T>
Available on crate feature
pubsub
only.type Inner = Notification<T>
source§impl<T: SEResponse + Ord> SEList for ResponseList<T>
Available on crate feature response
only.
impl<T: SEResponse + Ord> SEList for ResponseList<T>
Available on crate feature
response
only.