Struct rust_ocpp::v1_6::messages::send_local_list::SendLocalListRequest
source · pub struct SendLocalListRequest {
pub list_version: i32,
pub local_authorization_list: Option<Vec<AuthorizationData>>,
pub update_type: UpdateType,
}
Expand description
This contains the field definition of the SendLocalListRequest PDU sent by the Central System to the Charge Point. If no (empty) local_authorization_list is given and the updateType is Full, all identifications are removed from the list. Requesting a Differential update without (empty) local_authorization_list will have no effect on the list. All idTags in the local_authorization_list MUST be unique, no duplicate values are allowed. See also Send Local List
Fields§
§list_version: i32
Required. In case of a full update this is the version number of the full list. In case of a differential update it is the version number of the list after the update has been applied.
Optional. In case of a full update this contains the list of values that form the new local authorization list. In case of a differential update it contains the changes to be applied to the local authorization list in the Charge Point. Maximum number of AuthorizationData elements is available in the configuration key: SendLocalListMaxLength
update_type: UpdateType
Required. This contains the type of update (full or differential) of this request.
Trait Implementations§
source§impl Clone for SendLocalListRequest
impl Clone for SendLocalListRequest
source§fn clone(&self) -> SendLocalListRequest
fn clone(&self) -> SendLocalListRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SendLocalListRequest
impl Debug for SendLocalListRequest
source§impl Default for SendLocalListRequest
impl Default for SendLocalListRequest
source§fn default() -> SendLocalListRequest
fn default() -> SendLocalListRequest
source§impl<'de> Deserialize<'de> for SendLocalListRequest
impl<'de> Deserialize<'de> for SendLocalListRequest
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>,
source§impl PartialEq for SendLocalListRequest
impl PartialEq for SendLocalListRequest
source§fn eq(&self, other: &SendLocalListRequest) -> bool
fn eq(&self, other: &SendLocalListRequest) -> bool
self
and other
values to be equal, and is used
by ==
.