pub struct ChargingLimit {
pub charging_limit_source: String,
pub is_local_generation: Option<bool>,
pub is_grid_critical: Option<bool>,
pub custom_data: Option<CustomData>,
}Fields§
§charging_limit_source: StringRepresents the source of the charging limit. Values defined in appendix as ChargingLimitSourceEnumStringType.
is_local_generation: Option<bool>(2.1) True when the reported limit concerns local generation that is providing extra capacity, instead of a limitation.
is_grid_critical: Option<bool>Indicates whether the charging limit is critical for the grid.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for ChargingLimit
impl Clone for ChargingLimit
Source§impl Debug for ChargingLimit
impl Debug for ChargingLimit
Source§impl<'de> Deserialize<'de> for ChargingLimit
impl<'de> Deserialize<'de> for ChargingLimit
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
Source§impl PartialEq for ChargingLimit
impl PartialEq for ChargingLimit
Source§impl Serialize for ChargingLimit
impl Serialize for ChargingLimit
impl StructuralPartialEq for ChargingLimit
Auto Trait Implementations§
impl Freeze for ChargingLimit
impl RefUnwindSafe for ChargingLimit
impl Send for ChargingLimit
impl Sync for ChargingLimit
impl Unpin for ChargingLimit
impl UnsafeUnpin for ChargingLimit
impl UnwindSafe for ChargingLimit
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