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§

source

fn all(&self) -> Uint32

source

fn all_mut(&mut self) -> &mut Uint32

source

fn results(&self) -> Uint32

source

fn results_mut(&mut self) -> &mut Uint32

source

fn list_as_slice(&self) -> &[Self::Inner]

source

fn list_mut(&mut self) -> &mut Vec<Self::Inner>

Provided Methods§

source

fn add(&mut self, item: Self::Inner)

Add an item to the contained list, maintaining invariants

source

fn remove(&mut self, idx: usize) -> Self::Inner

Remove an item from the contained list, maintaining invariants

Implementors§

source§

impl SEList for BillingPeriodList

Available on crate feature billing only.
source§

impl SEList for BillingReadingList

Available on crate feature billing only.
source§

impl SEList for BillingReadingSetList

Available on crate feature billing only.
source§

impl SEList for CustomerAccountList

Available on crate feature billing only.
source§

impl SEList for CustomerAgreementList

Available on crate feature billing only.
source§

impl SEList for HistoricalReadingList

Available on crate feature billing only.
source§

impl SEList for ProjectionReadingList

Available on crate feature billing only.
source§

impl SEList for ServiceSupplierList

Available on crate feature billing only.
source§

impl SEList for TargetReadingList

Available on crate feature billing only.
source§

impl SEList for PriceResponseCfgList

Available on crate feature configuration only.
source§

impl SEList for DERControlList

Available on crate feature der only.
source§

impl SEList for DERCurveList

Available on crate feature der only.
source§

impl SEList for DERList

Available on crate feature der only.
§

type Inner = DER

source§

impl SEList for DERProgramList

Available on crate feature der only.
source§

impl SEList for SupportedLocaleList

Available on crate feature di only.
source§

impl SEList for DemandResponseProgramList

Available on crate feature drlc only.
source§

impl SEList for EndDeviceControlList

Available on crate feature drlc only.
source§

impl SEList for LoadShedAvailabilityList

Available on crate feature drlc only.
source§

impl SEList for EndDeviceList

Available on crate feature edev only.
source§

impl SEList for FlowReservationRequestList

Available on crate feature flow_reservation only.
source§

impl SEList for FlowReservationResponseList

Available on crate feature flow_reservation only.
source§

impl SEList for FunctionSetAssignmentsList

Available on crate feature fsa only.
source§

impl SEList for List

source§

impl SEList for SubscribableList

source§

impl SEList for LogEventList

Available on crate feature log_events only.
source§

impl SEList for MessagingProgramList

Available on crate feature messaging only.
source§

impl SEList for MeterReadingList

Available on crate feature metering only.
source§

impl SEList for ReadingList

Available on crate feature metering only.
source§

impl SEList for ReadingSetList

Available on crate feature metering only.
source§

impl SEList for UsagePointList

Available on crate feature metering only.
source§

impl SEList for MirrorMeterReadingList

Available on crate feature metering_mirror only.
source§

impl SEList for MirrorUsagePointList

Available on crate feature metering_mirror only.
source§

impl SEList for IPAddrList

Available on crate feature network_status only.
source§

impl SEList for IPInterfaceList

Available on crate feature network_status only.
source§

impl SEList for LlinterfaceList

Available on crate feature network_status only.
source§

impl SEList for NeighborList

Available on crate feature network_status only.
source§

impl SEList for RPLInstanceList

Available on crate feature network_status only.
source§

impl SEList for RPLSourceRoutesList

Available on crate feature network_status only.
source§

impl SEList for CreditRegisterList

Available on crate feature prepayment only.
source§

impl SEList for PrepaymentList

Available on crate feature prepayment only.
source§

impl SEList for SupplyInterruptionOverrideList

Available on crate feature prepayment only.
source§

impl SEList for ConsumptionTariffIntervalList

Available on crate feature pricing only.
source§

impl SEList for RateComponentList

Available on crate feature pricing only.
source§

impl SEList for TariffProfileList

Available on crate feature pricing only.
source§

impl SEList for TimeTariffIntervalList

Available on crate feature pricing only.
source§

impl SEList for SubscriptionList

Available on crate feature pubsub only.
source§

impl SEList for ResponseSetList

Available on crate feature response only.
source§

impl SEList for FileList

Available on crate feature software_download only.
§

type Inner = File

source§

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

Available on crate feature pubsub only.
source§

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

Available on crate feature response only.
§

type Inner = T