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