Struct rust_ocpp::v2_0_1::messages::send_local_list::SendLocalListRequest
source · [−]pub struct SendLocalListRequest {
pub version_number: i64,
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: i64
update_type: UpdateEnumType
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