Enum google_api_proto::google::maps::places::v1::EvConnectorType
source · #[repr(i32)]pub enum EvConnectorType {
Unspecified = 0,
Other = 1,
J1772 = 2,
Type2 = 3,
Chademo = 4,
CcsCombo1 = 5,
CcsCombo2 = 6,
Tesla = 7,
UnspecifiedGbT = 8,
UnspecifiedWallOutlet = 9,
}
Expand description
See http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6872107 for additional information/context on EV charging connector types.
Variants§
Unspecified = 0
Unspecified connector.
Other = 1
Other connector types.
J1772 = 2
J1772 type 1 connector.
Type2 = 3
IEC 62196 type 2 connector. Often referred to as MENNEKES.
Chademo = 4
CHAdeMO type connector.
CcsCombo1 = 5
Combined Charging System (AC and DC). Based on SAE. Type-1 J-1772 connector
CcsCombo2 = 6
Combined Charging System (AC and DC). Based on Type-2 Mennekes connector
Tesla = 7
The generic TESLA connector. This is NACS in the North America but can be non-NACS in other parts of the world (e.g. CCS Combo 2 (CCS2) or GB/T). This value is less representative of an actual connector type, and more represents the ability to charge a Tesla brand vehicle at a Tesla owned charging station.
UnspecifiedGbT = 8
GB/T type corresponds to the GB/T standard in China. This type covers all GB_T types.
UnspecifiedWallOutlet = 9
Unspecified wall outlet.
Implementations§
source§impl EvConnectorType
impl EvConnectorType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for EvConnectorType
impl Clone for EvConnectorType
source§fn clone(&self) -> EvConnectorType
fn clone(&self) -> EvConnectorType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvConnectorType
impl Debug for EvConnectorType
source§impl Default for EvConnectorType
impl Default for EvConnectorType
source§fn default() -> EvConnectorType
fn default() -> EvConnectorType
source§impl From<EvConnectorType> for i32
impl From<EvConnectorType> for i32
source§fn from(value: EvConnectorType) -> i32
fn from(value: EvConnectorType) -> i32
source§impl Hash for EvConnectorType
impl Hash for EvConnectorType
source§impl Ord for EvConnectorType
impl Ord for EvConnectorType
source§fn cmp(&self, other: &EvConnectorType) -> Ordering
fn cmp(&self, other: &EvConnectorType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for EvConnectorType
impl PartialEq for EvConnectorType
source§fn eq(&self, other: &EvConnectorType) -> bool
fn eq(&self, other: &EvConnectorType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EvConnectorType
impl PartialOrd for EvConnectorType
source§fn partial_cmp(&self, other: &EvConnectorType) -> Option<Ordering>
fn partial_cmp(&self, other: &EvConnectorType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for EvConnectorType
impl TryFrom<i32> for EvConnectorType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<EvConnectorType, DecodeError>
fn try_from(value: i32) -> Result<EvConnectorType, DecodeError>
impl Copy for EvConnectorType
impl Eq for EvConnectorType
impl StructuralPartialEq for EvConnectorType
Auto Trait Implementations§
impl Freeze for EvConnectorType
impl RefUnwindSafe for EvConnectorType
impl Send for EvConnectorType
impl Sync for EvConnectorType
impl Unpin for EvConnectorType
impl UnwindSafe for EvConnectorType
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request