pub struct GetVariablesResponse {
pub get_variable_result: Vec<GetVariableResult>,
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.1 · B — Provisioning · CSMS → Charging Station · CALL.
Fields§
§get_variable_result: Vec<GetVariableResult>The getVariableResult member.
custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl GetVariablesResponse
impl GetVariablesResponse
Sourcepub fn new(get_variable_result: Vec<GetVariableResult>) -> Self
pub fn new(get_variable_result: Vec<GetVariableResult>) -> Self
Creates a GetVariablesResponse 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 GetVariablesResponse
impl Clone for GetVariablesResponse
Source§impl Debug for GetVariablesResponse
impl Debug for GetVariablesResponse
Source§impl<'de> Deserialize<'de> for GetVariablesResponse
impl<'de> Deserialize<'de> for GetVariablesResponse
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 GetVariablesResponse
impl PartialEq for GetVariablesResponse
impl Response for GetVariablesResponse
impl Sealed for GetVariablesResponse
Source§impl Serialize for GetVariablesResponse
impl Serialize for GetVariablesResponse
impl StructuralPartialEq for GetVariablesResponse
Source§impl Validate for GetVariablesResponse
impl Validate for GetVariablesResponse
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 GetVariablesResponse
impl Freeze for GetVariablesResponse
impl RefUnwindSafe for GetVariablesResponse
impl Send for GetVariablesResponse
impl Sync for GetVariablesResponse
impl Unpin for GetVariablesResponse
impl UnsafeUnpin for GetVariablesResponse
impl UnwindSafe for GetVariablesResponse
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