pub trait Party {
type Id: Send + 'static;
fn id(&self) -> Self::Id;
fn token_we_use(&self) -> CredentialsToken;
fn token_they_use(&self) -> CredentialsToken;
}Expand description
Represents a Party in the Ocpi Protocol.
pub trait Party {
type Id: Send + 'static;
fn id(&self) -> Self::Id;
fn token_we_use(&self) -> CredentialsToken;
fn token_they_use(&self) -> CredentialsToken;
}Represents a Party in the Ocpi Protocol.