Enum rust_ocpp::v1_6::types::UpdateType
source · pub enum UpdateType {
Differential,
Full,
}
Expand description
Type of update for a SendLocalListRequest
Variants§
Differential
Indicates that the current Local Authorization List must be updated with the values in this message.
Full
Indicates that the current Local Authorization List must be replaced by the values in this message.
Trait Implementations§
source§impl Clone for UpdateType
impl Clone for UpdateType
source§fn clone(&self) -> UpdateType
fn clone(&self) -> UpdateType
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 UpdateType
impl Debug for UpdateType
source§impl Default for UpdateType
impl Default for UpdateType
source§fn default() -> UpdateType
fn default() -> UpdateType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateType
impl<'de> Deserialize<'de> for UpdateType
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<UpdateType> for UpdateType
impl PartialEq<UpdateType> for UpdateType
source§fn eq(&self, other: &UpdateType) -> bool
fn eq(&self, other: &UpdateType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.