ocpi 0.3.5

Unofficial, in progress, OCPI implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::types;

/// Represents a Party in the Ocpi Protocol.
pub trait Party
where
    Self: Clone + Sync + Send + 'static,
{
    type Id: Sync + Send + 'static;

    fn id(&self) -> Self::Id;

    fn token_we_use(&self) -> types::CredentialsToken;

    fn token_they_use(&self) -> types::CredentialsToken;
}