pub trait SingleKeyObjectDesc: PublicKeyObjectDesc {
// Required method
fn public_key(&self) -> &PublicKey;
}
Expand description
Single public key Authorized object, explicitly using the PublicKey::Single type The object that implements the Trait must also implement the PublicKeyObjectDesc
Required Methods§
fn public_key(&self) -> &PublicKey
Implementations on Foreign Types§
Source§impl SingleKeyObjectDesc for PublicKey
impl SingleKeyObjectDesc for PublicKey
fn public_key(&self) -> &PublicKey
Implementors§
impl<T> SingleKeyObjectDesc for NamedObjectDesc<T>
§NamedObjectDesc 的 SingleKeyObjectDesc 自动实现
如果 T::PublicKeyType 实现了 SingleKeyObjectDesc+PublicKeyObjectDesc 则自动实现 SingleKeyObjectDesc+PublicKeyObjectDesc