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: i32Required. 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: UpdateTypeRequired. 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§impl Serialize for SendLocalListRequest
impl Serialize for SendLocalListRequest
impl StructuralPartialEq for SendLocalListRequest
Auto Trait Implementations§
impl Freeze for SendLocalListRequest
impl RefUnwindSafe for SendLocalListRequest
impl Send for SendLocalListRequest
impl Sync for SendLocalListRequest
impl Unpin for SendLocalListRequest
impl UnwindSafe for SendLocalListRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)