pub struct GetLocalListVersionRequest {
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.1 · D — Local Authorization List Management · CSMS → Charging Station · CALL.
Fields§
§custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl GetLocalListVersionRequest
impl GetLocalListVersionRequest
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an empty GetLocalListVersionRequest. 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 GetLocalListVersionRequest
impl Clone for GetLocalListVersionRequest
impl Confirmed for GetLocalListVersionRequest
Source§impl Debug for GetLocalListVersionRequest
impl Debug for GetLocalListVersionRequest
Source§impl Default for GetLocalListVersionRequest
impl Default for GetLocalListVersionRequest
Source§impl<'de> Deserialize<'de> for GetLocalListVersionRequest
impl<'de> Deserialize<'de> for GetLocalListVersionRequest
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 GetLocalListVersionRequest
impl Request for GetLocalListVersionRequest
Source§const KIND: MessageKind = MessageKind::Call
const KIND: MessageKind = MessageKind::Call
CALL or SEND.Source§type Response = GetLocalListVersionResponse
type Response = GetLocalListVersionResponse
The matching response payload, or
NoResponse for a SEND.impl Sealed for GetLocalListVersionRequest
impl StructuralPartialEq for GetLocalListVersionRequest
Source§impl Validate for GetLocalListVersionRequest
impl Validate for GetLocalListVersionRequest
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 GetLocalListVersionRequest
impl Freeze for GetLocalListVersionRequest
impl Move for GetLocalListVersionRequest
impl RefUnwindSafe for GetLocalListVersionRequest
impl Send for GetLocalListVersionRequest
impl Sync for GetLocalListVersionRequest
impl Unpin for GetLocalListVersionRequest
impl UnsafeUnpin for GetLocalListVersionRequest
impl UnwindSafe for GetLocalListVersionRequest
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