Skip to main content

KeyIdInterface

Trait KeyIdInterface 

Source
pub trait KeyIdInterface {
    // Required method
    fn account_id(&self) -> AccountId;
}
Expand description

Provides a common API for all key identifiers.

Required Methods§

Source

fn account_id(&self) -> AccountId

Account ID.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§