Struct rust_ocpp::v1_6::types::ChargingProfile
source · pub struct ChargingProfile {
pub charging_profile_id: i64,
pub transaction_id: Option<i64>,
pub stack_level: u64,
pub charging_profile_purpose: ChargingProfilePurposeType,
pub charging_profile_kind: ChargingProfileKindType,
pub recurrency_kind: Option<RecurrencyKindType>,
pub valid_from: Option<DateTime<Utc>>,
pub valid_to: Option<DateTime<Utc>>,
pub charging_schedule: ChargingSchedule,
}
Fields§
§charging_profile_id: i64
§transaction_id: Option<i64>
§stack_level: u64
§charging_profile_purpose: ChargingProfilePurposeType
§charging_profile_kind: ChargingProfileKindType
§recurrency_kind: Option<RecurrencyKindType>
§valid_from: Option<DateTime<Utc>>
§valid_to: Option<DateTime<Utc>>
§charging_schedule: ChargingSchedule
Trait Implementations§
source§impl Clone for ChargingProfile
impl Clone for ChargingProfile
source§fn clone(&self) -> ChargingProfile
fn clone(&self) -> ChargingProfile
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 ChargingProfile
impl Debug for ChargingProfile
source§impl Default for ChargingProfile
impl Default for ChargingProfile
source§fn default() -> ChargingProfile
fn default() -> ChargingProfile
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChargingProfile
impl<'de> Deserialize<'de> for ChargingProfile
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<ChargingProfile> for ChargingProfile
impl PartialEq<ChargingProfile> for ChargingProfile
source§fn eq(&self, other: &ChargingProfile) -> bool
fn eq(&self, other: &ChargingProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.