Struct rust_ocpp::v1_6::messages::send_local_list::SendLocalListRequest
source · [−]pub struct SendLocalListRequest {
pub list_version: i64,
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: i64
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
sourceimpl Clone for SendLocalListRequest
impl Clone for SendLocalListRequest
sourcefn clone(&self) -> SendLocalListRequest
fn clone(&self) -> SendLocalListRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SendLocalListRequest
impl Debug for SendLocalListRequest
sourceimpl<'de> Deserialize<'de> for SendLocalListRequest
impl<'de> Deserialize<'de> for SendLocalListRequest
sourcefn 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
sourceimpl PartialEq<SendLocalListRequest> for SendLocalListRequest
impl PartialEq<SendLocalListRequest> for SendLocalListRequest
sourcefn eq(&self, other: &SendLocalListRequest) -> bool
fn eq(&self, other: &SendLocalListRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SendLocalListRequest) -> bool
fn ne(&self, other: &SendLocalListRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for SendLocalListRequest
impl Serialize for SendLocalListRequest
impl StructuralPartialEq for SendLocalListRequest
Auto Trait Implementations
impl RefUnwindSafe for SendLocalListRequest
impl Send for SendLocalListRequest
impl Sync for SendLocalListRequest
impl Unpin for SendLocalListRequest
impl UnwindSafe for SendLocalListRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more