ocpi 0.3.5

Unofficial, in progress, OCPI implementation
Documentation
/// # 9.4.2. ProfileType enum
///
/// Different smart charging profile types.
#[derive(Clone, Copy, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum ProfileType {
    /// Driver wants to use the cheapest charging profile possible.
    Cheap,

    /// Driver wants his EV charged as quickly as possible and is willing to pay a premium
    /// for this, if needed.
    Fast,

    /// Driver wants his EV charged with as much regenerative (green) energy as possible.
    Green,

    /// Driver does not have special preferences.
    Regular,
}