ocpi 0.3.5

Unofficial, in progress, OCPI implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::CsString;

/// # 12.4.2. EnergyContract class
///
/// Information about a energy contract that belongs to a Token so a driver could
/// use his/her own energy contract when charging at a Charge Point.
#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
pub struct EnergyContract {
    pub supplier_name: CsString<64>,
    pub contract_id: Option<CsString<64>>,
}