Struct everscale_crypto::ed25519::PublicKey
source · [−]pub struct PublicKey(_, _);Expand description
Ed25519 public key
Implementations
sourceimpl PublicKey
impl PublicKey
pub fn from_tl(tl: PublicKey<'_>) -> Option<Self>
pub fn as_tl(&self) -> PublicKey<'_>
pub fn to_bytes(&self) -> [u8; 32]
pub fn as_bytes(&self) -> &[u8; 32]
Trait Implementations
sourceimpl From<&'_ ExpandedSecretKey> for PublicKey
impl From<&'_ ExpandedSecretKey> for PublicKey
sourcefn from(expanded_secret_key: &ExpandedSecretKey) -> Self
fn from(expanded_secret_key: &ExpandedSecretKey) -> Self
Converts to this type from the input type.
impl Copy for PublicKey
impl Eq for PublicKey
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more