Struct rust_ocpp::v2_0_1::messages::send_local_list::SendLocalListRequest
source · pub struct SendLocalListRequest {
pub version_number: i32,
pub update_type: UpdateEnumType,
pub local_authorization_list: Option<Vec<AuthorizationData>>,
}
Expand description
This contains the field definition of the SendLocalListRequest PDU sent by the CSMS to the Charging Station. If no (empty) local_authorization_list is given and the updateType is Full, all IdTokens are removed from the list. Requesting a Differential update without or with empty local_authorization_list will have no effect on the list. All IdTokens in the local_authorization_list MUST be unique, no duplicate values are allowed.
Fields§
§version_number: i32
§update_type: UpdateEnumType
Trait Implementations§
source§impl Clone for SendLocalListRequest
impl Clone for SendLocalListRequest
source§fn clone(&self) -> SendLocalListRequest
fn clone(&self) -> SendLocalListRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SendLocalListRequest
impl PartialEq for SendLocalListRequest
source§fn 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 ==
.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
Mutably borrows from an owned value. Read more