pub fn public_key(&self) -> PublicKey {
        match self {
            PrivateKey::Ed25519(private_key) => private_key.public.into(),
        }
    }
/// Get the public key associated with this private key
Get the public key associated with this private key
Get the public key associated with this private key
pub fn public_key(&self) -> PublicKey {
        match self {
            PrivateKey::Ed25519(private_key) => private_key.public.into(),
        }
    }
pub fn public_key ( & self ) -> PublicKey { match self { PrivateKey :: Ed25519 ( private_key ) => private_key . public . into ( ) , } }
Get the public key associated with this private key
Get the public key associated with this private key
&self