#![allow(clippy::ref_option, reason = "for the getset crate")]
use crate::places_new::types::ev_charging::EvConnectorType;
#[derive(
//std
Clone,
Debug,
Default,
// getset
getset::Getters,
getset::CopyGetters,
// serde
serde::Deserialize,
serde::Serialize
)]
#[serde(rename_all = "camelCase")]
pub struct EvOptions {
#[serde(skip_serializing_if = "Option::is_none")]
#[getset(get = "pub", set = "pub", get_mut = "pub")]
pub connector_types: Option<Vec<EvConnectorType>>,
#[serde(skip_serializing_if = "Option::is_none")]
#[getset(get = "pub", set = "pub", get_mut = "pub")]
pub minimum_charging_rate_kw: Option<f64>,
}