pub struct PublicKey(pub Address);Expand description
A type representing the public key. Caution: MockVM does not implement any cryptography!
Tuple Fields§
§0: AddressImplementations§
Trait Implementations§
Source§impl BorshDeserialize for PublicKey
impl BorshDeserialize for PublicKey
Source§impl BorshSerialize for PublicKey
impl BorshSerialize for PublicKey
impl Copy for PublicKey
impl Eq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more