pub struct NotifyCustomerInformationRequest {
pub data: String,
pub seq_no: i32,
pub generated_at: DateTime,
pub request_id: i32,
pub tbc: Option<bool>,
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.1 · N — Diagnostics · Charging Station → CSMS · CALL.
Fields§
§data: String(Part of) the requested data. No format specified in which the data is returned. Should be human readable.
seq_no: i32Sequence number of this message. First message starts at 0.
generated_at: DateTimeTimestamp of the moment this message was generated at the Charging Station.
request_id: i32The Id of the request.
tbc: Option<bool>“to be continued” indicator. Indicates whether another part of the monitoringData follows in an upcoming notifyMonitoringReportRequest message. Default value when omitted is false.
Schema default: false.
custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl NotifyCustomerInformationRequest
impl NotifyCustomerInformationRequest
Trait Implementations§
impl Confirmed for NotifyCustomerInformationRequest
Source§impl<'de> Deserialize<'de> for NotifyCustomerInformationRequest
impl<'de> Deserialize<'de> for NotifyCustomerInformationRequest
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 Request for NotifyCustomerInformationRequest
impl Request for NotifyCustomerInformationRequest
Source§const KIND: MessageKind = MessageKind::Call
const KIND: MessageKind = MessageKind::Call
CALL or SEND.Source§type Response = NotifyCustomerInformationResponse
type Response = NotifyCustomerInformationResponse
The matching response payload, or
NoResponse for a SEND.impl Sealed for NotifyCustomerInformationRequest
impl StructuralPartialEq for NotifyCustomerInformationRequest
Source§impl Validate for NotifyCustomerInformationRequest
impl Validate for NotifyCustomerInformationRequest
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 NotifyCustomerInformationRequest
impl Freeze for NotifyCustomerInformationRequest
impl Move for NotifyCustomerInformationRequest
impl RefUnwindSafe for NotifyCustomerInformationRequest
impl Send for NotifyCustomerInformationRequest
impl Sync for NotifyCustomerInformationRequest
impl Unpin for NotifyCustomerInformationRequest
impl UnsafeUnpin for NotifyCustomerInformationRequest
impl UnwindSafe for NotifyCustomerInformationRequest
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