pub trait Party{
type Id: Sync + Send + 'static;
// Required methods
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.
Required Associated Types§
Required Methods§
fn id(&self) -> Self::Id
fn token_we_use(&self) -> CredentialsToken
fn token_they_use(&self) -> CredentialsToken
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.