pub struct NotifyDERStartStopResponse {
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.1 · R — DER Control · Charging Station → CSMS · CALL.
Fields§
§custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl NotifyDERStartStopResponse
impl NotifyDERStartStopResponse
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an empty NotifyDERStartStopResponse. Every field of this type is optional.
Sourcepub fn with_custom_data(self, value: CustomData) -> Self
pub fn with_custom_data(self, value: CustomData) -> Self
Sets the optional customData field.
Trait Implementations§
Source§impl Clone for NotifyDERStartStopResponse
impl Clone for NotifyDERStartStopResponse
Source§impl Debug for NotifyDERStartStopResponse
impl Debug for NotifyDERStartStopResponse
Source§impl Default for NotifyDERStartStopResponse
impl Default for NotifyDERStartStopResponse
Source§impl<'de> Deserialize<'de> for NotifyDERStartStopResponse
impl<'de> Deserialize<'de> for NotifyDERStartStopResponse
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 Response for NotifyDERStartStopResponse
impl Sealed for NotifyDERStartStopResponse
impl StructuralPartialEq for NotifyDERStartStopResponse
Source§impl Validate for NotifyDERStartStopResponse
impl Validate for NotifyDERStartStopResponse
Source§fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
Appends this value’s violations to
out, relative to path.Auto Trait Implementations§
impl Forget for NotifyDERStartStopResponse
impl Freeze for NotifyDERStartStopResponse
impl Move for NotifyDERStartStopResponse
impl RefUnwindSafe for NotifyDERStartStopResponse
impl Send for NotifyDERStartStopResponse
impl Sync for NotifyDERStartStopResponse
impl Unpin for NotifyDERStartStopResponse
impl UnsafeUnpin for NotifyDERStartStopResponse
impl UnwindSafe for NotifyDERStartStopResponse
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