ocpi 0.3.5

Unofficial, in progress, OCPI implementation
Documentation
//! credentials/types/mod.rs
//!
//! This module contains the types used by the OCPI Credentials module.
//!

mod auth_method;
mod business_details;
mod cancel_reservation;
mod cdr_dimension;
mod cdr_token;
mod charging_period;
mod charging_preferences;
mod command;
mod command_response;
mod command_response_type;
mod command_result;
mod command_result_type;
mod command_type;
mod credential;
mod credentials_role;
mod date_time;
mod display_text;
mod endpoint;
mod energy_contract;
mod image;
mod image_category;
mod interface_role;
mod language;
mod module_id;
mod paginated;
mod price;
mod profile_type;
mod reserve_now;
mod role;
mod session;
mod session_status;
mod start_session;
mod stop_session;
mod strings;
mod token;
mod token_type;
mod unlock_connector;
mod version;
mod version_details;
mod version_number;
mod whitelist_type;

pub use {
    auth_method::*,
    business_details::*,
    cancel_reservation::CancelReservation,
    cdr_dimension::*,
    cdr_token::*,
    charging_period::*,
    charging_preferences::*,
    command::Command,
    command_response::CommandResponse,
    command_response_type::CommandResponseType,
    command_result::CommandResult,
    command_result_type::CommandResultType,
    command_type::*,
    credential::*,
    credentials_role::*,
    date_time::*,
    display_text::{AsDisplayText, DisplayText},
    endpoint::*,
    energy_contract::*,
    image::*,
    image_category::*,
    interface_role::*,
    language::Language,
    module_id::*,
    paginated::Paginated,
    price::Price,
    profile_type::*,
    reserve_now::ReserveNow,
    role::*,
    session::*,
    session_status::*,
    start_session::StartSession,
    stop_session::StopSession,
    strings::{CiString, CsString, StringError},
    token::Token,
    token_type::TokenType,
    unlock_connector::UnlockConnector,
    version::*,
    version_details::*,
    version_number::*,
    whitelist_type::WhitelistType,
};

pub use chrono::Duration;
pub use url::{ParseError as UrlParseError, Url};

pub type CredentialsToken = CsString<64>;