pub enum OCPPVersionEnum {
OCPP12,
OCPP15,
OCPP16,
OCPP20,
OCPP201,
OCPP21,
}Expand description
(2.1) This field is ignored, since the OCPP version to use is determined during the websocket handshake. The field is only kept for backwards compatibility with the OCPP 2.0.1 JSON schema.
Variants§
Trait Implementations§
Source§impl Clone for OCPPVersionEnum
impl Clone for OCPPVersionEnum
Source§fn clone(&self) -> OCPPVersionEnum
fn clone(&self) -> OCPPVersionEnum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OCPPVersionEnum
impl Debug for OCPPVersionEnum
Source§impl<'de> Deserialize<'de> for OCPPVersionEnum
impl<'de> Deserialize<'de> for OCPPVersionEnum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OCPPVersionEnum
Source§impl PartialEq for OCPPVersionEnum
impl PartialEq for OCPPVersionEnum
Source§impl Serialize for OCPPVersionEnum
impl Serialize for OCPPVersionEnum
impl StructuralPartialEq for OCPPVersionEnum
Source§impl Validate for OCPPVersionEnum
Available on crate feature validate only.
impl Validate for OCPPVersionEnum
Available on crate feature
validate only.Auto Trait Implementations§
impl Freeze for OCPPVersionEnum
impl RefUnwindSafe for OCPPVersionEnum
impl Send for OCPPVersionEnum
impl Sync for OCPPVersionEnum
impl Unpin for OCPPVersionEnum
impl UnsafeUnpin for OCPPVersionEnum
impl UnwindSafe for OCPPVersionEnum
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
Mutably borrows from an owned value. Read more