pub struct GetVariablesRequest {
pub get_variable_data: Vec<GetVariableData>,
pub custom_data: Option<CustomData>,
}Expand description
Spec: OCPP 2.0.1 · B — Provisioning · CSMS → Charging Station · CALL.
Fields§
§get_variable_data: Vec<GetVariableData>The getVariableData member.
custom_data: Option<CustomData>The customData member.
Implementations§
Source§impl GetVariablesRequest
impl GetVariablesRequest
Sourcepub fn new(get_variable_data: Vec<GetVariableData>) -> Self
pub fn new(get_variable_data: Vec<GetVariableData>) -> Self
Creates a GetVariablesRequest 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 GetVariablesRequest
impl Clone for GetVariablesRequest
impl Confirmed for GetVariablesRequest
Source§impl Debug for GetVariablesRequest
impl Debug for GetVariablesRequest
Source§impl<'de> Deserialize<'de> for GetVariablesRequest
impl<'de> Deserialize<'de> for GetVariablesRequest
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 GetVariablesRequest
impl PartialEq for GetVariablesRequest
Source§impl Request for GetVariablesRequest
impl Request for GetVariablesRequest
Source§const KIND: MessageKind = MessageKind::Call
const KIND: MessageKind = MessageKind::Call
CALL or SEND.Source§type Response = GetVariablesResponse
type Response = GetVariablesResponse
The matching response payload, or
NoResponse for a SEND.impl Sealed for GetVariablesRequest
Source§impl Serialize for GetVariablesRequest
impl Serialize for GetVariablesRequest
impl StructuralPartialEq for GetVariablesRequest
Source§impl Validate for GetVariablesRequest
impl Validate for GetVariablesRequest
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 GetVariablesRequest
impl Freeze for GetVariablesRequest
impl Move for GetVariablesRequest
impl RefUnwindSafe for GetVariablesRequest
impl Send for GetVariablesRequest
impl Sync for GetVariablesRequest
impl Unpin for GetVariablesRequest
impl UnsafeUnpin for GetVariablesRequest
impl UnwindSafe for GetVariablesRequest
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