pub enum LocationEnum {
Body,
Cable,
EV,
Inlet,
Outlet,
}Expand description
Sampled_ Value. Location. Location_ Code urn:x-oca:ocpp:uid:1:569265 Indicates where the measured value has been sampled. Default = “Outlet”
Variants§
Trait Implementations§
Source§impl Clone for LocationEnum
impl Clone for LocationEnum
Source§fn clone(&self) -> LocationEnum
fn clone(&self) -> LocationEnum
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 LocationEnum
impl Debug for LocationEnum
Source§impl<'de> Deserialize<'de> for LocationEnum
impl<'de> Deserialize<'de> for LocationEnum
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 LocationEnum
Source§impl PartialEq for LocationEnum
impl PartialEq for LocationEnum
Source§impl Serialize for LocationEnum
impl Serialize for LocationEnum
impl StructuralPartialEq for LocationEnum
Source§impl Validate for LocationEnum
Available on crate feature validate only.
impl Validate for LocationEnum
Available on crate feature
validate only.Auto Trait Implementations§
impl Freeze for LocationEnum
impl RefUnwindSafe for LocationEnum
impl Send for LocationEnum
impl Sync for LocationEnum
impl Unpin for LocationEnum
impl UnsafeUnpin for LocationEnum
impl UnwindSafe for LocationEnum
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