pub struct DefaultPublicKey { /* private fields */ }
Trait Implementations§
source§impl BorshDeserialize for DefaultPublicKey
impl BorshDeserialize for DefaultPublicKey
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,
source§impl BorshSerialize for DefaultPublicKey
impl BorshSerialize for DefaultPublicKey
source§impl Clone for DefaultPublicKey
impl Clone for DefaultPublicKey
source§fn clone(&self) -> DefaultPublicKey
fn clone(&self) -> DefaultPublicKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DefaultPublicKey
impl Debug for DefaultPublicKey
source§impl Hash for DefaultPublicKey
impl Hash for DefaultPublicKey
source§impl PartialEq<DefaultPublicKey> for DefaultPublicKey
impl PartialEq<DefaultPublicKey> for DefaultPublicKey
source§fn eq(&self, other: &DefaultPublicKey) -> bool
fn eq(&self, other: &DefaultPublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PublicKey for DefaultPublicKey
impl PublicKey for DefaultPublicKey
fn to_address<A: RollupAddress>(&self) -> A
impl Eq for DefaultPublicKey
impl StructuralEq for DefaultPublicKey
impl StructuralPartialEq for DefaultPublicKey
Auto Trait Implementations§
impl RefUnwindSafe for DefaultPublicKey
impl Send for DefaultPublicKey
impl Sync for DefaultPublicKey
impl Unpin for DefaultPublicKey
impl UnwindSafe for DefaultPublicKey
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