pub struct GetLocalListVersionResponse {
pub version_number: i32,
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.1 · D — Local Authorization List Management · CSMS → Charging Station · CALL.
Fields§
§version_number: i32This contains the current version number of the local authorization list in the Charging Station.
custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl GetLocalListVersionResponse
impl GetLocalListVersionResponse
Sourcepub fn new(version_number: i32) -> Self
pub fn new(version_number: i32) -> Self
Creates a GetLocalListVersionResponse 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§
Source§impl Clone for GetLocalListVersionResponse
impl Clone for GetLocalListVersionResponse
Source§impl Debug for GetLocalListVersionResponse
impl Debug for GetLocalListVersionResponse
Source§impl<'de> Deserialize<'de> for GetLocalListVersionResponse
impl<'de> Deserialize<'de> for GetLocalListVersionResponse
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 GetLocalListVersionResponse
impl Sealed for GetLocalListVersionResponse
impl StructuralPartialEq for GetLocalListVersionResponse
Source§impl Validate for GetLocalListVersionResponse
impl Validate for GetLocalListVersionResponse
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 GetLocalListVersionResponse
impl Freeze for GetLocalListVersionResponse
impl RefUnwindSafe for GetLocalListVersionResponse
impl Send for GetLocalListVersionResponse
impl Sync for GetLocalListVersionResponse
impl Unpin for GetLocalListVersionResponse
impl UnsafeUnpin for GetLocalListVersionResponse
impl UnwindSafe for GetLocalListVersionResponse
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