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