ChargingStation

public struct ChargingStation : Hashable

A charging station has several charging points, of which only several points can be used at the same time.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • An array of ChargingPoint of the ChargingStation.

    Declaration

    Swift

    public let chargingPoints: [ChargingPoint]
  • id

    Charging station ID.

    Declaration

    Swift

    public let id: Identifier
  • An identifier struct for ChargingStation.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct Identifier : Hashable
  • Creates a new ChargingStation instance with given parameters.

    Declaration

    Swift

    public init(id: Identifier, chargingPoints: [ChargingPoint])

    Parameters

    id

    charging station ID.

    chargingPoints

    An array of ChargingPoint of the ChargingStation.