pub struct GetConfigurationResponse {
pub configuration_key: Option<Vec<KeyValue>>,
pub unknown_key: Option<Vec<String>>,
}Expand description
Spec: OCPP 1.6 · Core · CSMS → Charging Station · CALL.
Fields§
§configuration_key: Option<Vec<KeyValue>>The configurationKey member.
unknown_key: Option<Vec<String>>The unknownKey member.
Implementations§
Source§impl GetConfigurationResponse
impl GetConfigurationResponse
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an empty GetConfigurationResponse. Every field of this type is optional.
Sourcepub fn with_configuration_key(self, value: Vec<KeyValue>) -> Self
pub fn with_configuration_key(self, value: Vec<KeyValue>) -> Self
Sets the optional configurationKey field.
Sourcepub fn with_unknown_key(
self,
value: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn with_unknown_key( self, value: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Sets the optional unknownKey field.
Trait Implementations§
Source§impl Clone for GetConfigurationResponse
impl Clone for GetConfigurationResponse
Source§impl Debug for GetConfigurationResponse
impl Debug for GetConfigurationResponse
Source§impl Default for GetConfigurationResponse
impl Default for GetConfigurationResponse
Source§impl<'de> Deserialize<'de> for GetConfigurationResponse
impl<'de> Deserialize<'de> for GetConfigurationResponse
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 PartialEq for GetConfigurationResponse
impl PartialEq for GetConfigurationResponse
impl Response for GetConfigurationResponse
impl Sealed for GetConfigurationResponse
Source§impl Serialize for GetConfigurationResponse
impl Serialize for GetConfigurationResponse
impl StructuralPartialEq for GetConfigurationResponse
Source§impl Validate for GetConfigurationResponse
impl Validate for GetConfigurationResponse
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 GetConfigurationResponse
impl Freeze for GetConfigurationResponse
impl RefUnwindSafe for GetConfigurationResponse
impl Send for GetConfigurationResponse
impl Sync for GetConfigurationResponse
impl Unpin for GetConfigurationResponse
impl UnsafeUnpin for GetConfigurationResponse
impl UnwindSafe for GetConfigurationResponse
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