pub struct ReportDERControlResponse {
pub custom_data: Option<CustomData>,
}Expand description
This message has no parameters.
Spec: OCPP 2.1 · R — DER Control · Charging Station → CSMS · CALL.
Fields§
§custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl ReportDERControlResponse
impl ReportDERControlResponse
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an empty ReportDERControlResponse. 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 ReportDERControlResponse
impl Clone for ReportDERControlResponse
Source§impl Debug for ReportDERControlResponse
impl Debug for ReportDERControlResponse
Source§impl Default for ReportDERControlResponse
impl Default for ReportDERControlResponse
Source§impl<'de> Deserialize<'de> for ReportDERControlResponse
impl<'de> Deserialize<'de> for ReportDERControlResponse
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 ReportDERControlResponse
impl PartialEq for ReportDERControlResponse
impl Response for ReportDERControlResponse
impl Sealed for ReportDERControlResponse
Source§impl Serialize for ReportDERControlResponse
impl Serialize for ReportDERControlResponse
impl StructuralPartialEq for ReportDERControlResponse
Source§impl Validate for ReportDERControlResponse
impl Validate for ReportDERControlResponse
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 ReportDERControlResponse
impl Freeze for ReportDERControlResponse
impl RefUnwindSafe for ReportDERControlResponse
impl Send for ReportDERControlResponse
impl Sync for ReportDERControlResponse
impl Unpin for ReportDERControlResponse
impl UnsafeUnpin for ReportDERControlResponse
impl UnwindSafe for ReportDERControlResponse
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