pub struct ChargingLimit<CustomDataType = NoCustomData> {
pub charging_limit_source: String<20usize>,
pub custom_data: Option<CustomDataType>,
pub is_grid_critical: Option<bool>,
pub is_local_generation: Option<bool>,
}Fields§
§charging_limit_source: String<20usize>Represents the source of the charging limit. Values defined in appendix as ChargingLimitSourceEnumStringType.
custom_data: Option<CustomDataType>§is_grid_critical: Option<bool>Indicates whether the charging limit is critical for the grid.
is_local_generation: Option<bool>(2.1) True when the reported limit concerns local generation that is providing extra capacity, instead of a limitation.
Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for ChargingLimit<CustomDataType>
impl<CustomDataType: Clone> Clone for ChargingLimit<CustomDataType>
Source§fn clone(&self) -> ChargingLimit<CustomDataType>
fn clone(&self) -> ChargingLimit<CustomDataType>
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<CustomDataType: Debug> Debug for ChargingLimit<CustomDataType>
impl<CustomDataType: Debug> Debug for ChargingLimit<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for ChargingLimit<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for ChargingLimit<CustomDataType>where
CustomDataType: Deserialize<'de>,
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<CustomDataType: Eq> Eq for ChargingLimit<CustomDataType>
Source§impl<CustomDataType: PartialEq> PartialEq for ChargingLimit<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for ChargingLimit<CustomDataType>
Source§impl<CustomDataType> Serialize for ChargingLimit<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for ChargingLimit<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for ChargingLimit<CustomDataType>
Source§impl<CustomDataType> Validate for ChargingLimit<CustomDataType>
Available on crate feature validate only.
impl<CustomDataType> Validate for ChargingLimit<CustomDataType>
Available on crate feature
validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for ChargingLimit<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for ChargingLimit<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for ChargingLimit<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for ChargingLimit<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for ChargingLimit<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for ChargingLimit<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for ChargingLimit<CustomDataType>where
CustomDataType: UnwindSafe,
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