pub struct AdjustPeriodicEventStreamRequest {
pub id: i32,
pub params: PeriodicEventStreamParams,
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.1 · N — Diagnostics · CSMS → Charging Station · CALL.
Fields§
§id: i32The id member.
params: PeriodicEventStreamParamsThe params member.
custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl AdjustPeriodicEventStreamRequest
impl AdjustPeriodicEventStreamRequest
Sourcepub fn new(id: i32, params: PeriodicEventStreamParams) -> Self
pub fn new(id: i32, params: PeriodicEventStreamParams) -> Self
Creates a AdjustPeriodicEventStreamRequest from its required fields.
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§
impl Confirmed for AdjustPeriodicEventStreamRequest
Source§impl<'de> Deserialize<'de> for AdjustPeriodicEventStreamRequest
impl<'de> Deserialize<'de> for AdjustPeriodicEventStreamRequest
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 AdjustPeriodicEventStreamRequest
impl Request for AdjustPeriodicEventStreamRequest
Source§const KIND: MessageKind = MessageKind::Call
const KIND: MessageKind = MessageKind::Call
CALL or SEND.Source§type Response = AdjustPeriodicEventStreamResponse
type Response = AdjustPeriodicEventStreamResponse
The matching response payload, or
NoResponse for a SEND.impl Sealed for AdjustPeriodicEventStreamRequest
impl StructuralPartialEq for AdjustPeriodicEventStreamRequest
Source§impl Validate for AdjustPeriodicEventStreamRequest
impl Validate for AdjustPeriodicEventStreamRequest
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 AdjustPeriodicEventStreamRequest
impl Freeze for AdjustPeriodicEventStreamRequest
impl Move for AdjustPeriodicEventStreamRequest
impl RefUnwindSafe for AdjustPeriodicEventStreamRequest
impl Send for AdjustPeriodicEventStreamRequest
impl Sync for AdjustPeriodicEventStreamRequest
impl Unpin for AdjustPeriodicEventStreamRequest
impl UnsafeUnpin for AdjustPeriodicEventStreamRequest
impl UnwindSafe for AdjustPeriodicEventStreamRequest
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