use super::CiString;
/// # 13.3.1. CancelReservation Object
///
/// With CancelReservation the Sender can request the Cancel of an existing Reservation.
/// The CancelReservation needs to contain the reservation_id that was given by the Sender
/// to the ReserveNow.
/// As there might be cost involved for a Reservation, canceling a reservation might
/// still result in a CDR being send for the reservation.
#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
pub struct CancelReservation {
/// URL that the CommandResult POST should be send to. This URL might contain
/// an unique ID to be able to distinguish between CancelReservation requests.
pub response_url: url::Url,
/// Reservation id, unique for this reservation. If the Charge Point already has a
/// reservation that matches this reservationId the Charge Point will replace the
/// reservation.
pub reservation_id: CiString<36>,
}