Struct solana_program::secp256k1_recover::Secp256k1Pubkey
source · #[repr(transparent)]pub struct Secp256k1Pubkey(pub [u8; 64]);
Tuple Fields§
§0: [u8; 64]
Implementations§
Trait Implementations§
source§impl AbiExample for Secp256k1Pubkey
impl AbiExample for Secp256k1Pubkey
source§impl BorshDeserialize for Secp256k1Pubkey
impl BorshDeserialize for Secp256k1Pubkey
source§impl BorshSchema for Secp256k1Pubkeywhere
[u8; 64]: BorshSchema,
impl BorshSchema for Secp256k1Pubkeywhere [u8; 64]: BorshSchema,
source§fn declaration() -> Declaration
fn declaration() -> Declaration
Get the name of the type without brackets.
source§fn add_definitions_recursively(
definitions: &mut HashMap<Declaration, Definition>
)
fn add_definitions_recursively( definitions: &mut HashMap<Declaration, Definition> )
Recursively, using DFS, add type definitions required for this type. For primitive types
this is an empty map. Type definition explains how to serialize/deserialize a type.
source§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
Helper method to add a single type definition to the map.
fn schema_container() -> BorshSchemaContainer
source§impl BorshSerialize for Secp256k1Pubkey
impl BorshSerialize for Secp256k1Pubkey
source§impl Clone for Secp256k1Pubkey
impl Clone for Secp256k1Pubkey
source§fn clone(&self) -> Secp256k1Pubkey
fn clone(&self) -> Secp256k1Pubkey
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 Hash for Secp256k1Pubkey
impl Hash for Secp256k1Pubkey
source§impl Ord for Secp256k1Pubkey
impl Ord for Secp256k1Pubkey
source§fn cmp(&self, other: &Secp256k1Pubkey) -> Ordering
fn cmp(&self, other: &Secp256k1Pubkey) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Secp256k1Pubkey> for Secp256k1Pubkey
impl PartialEq<Secp256k1Pubkey> for Secp256k1Pubkey
source§fn eq(&self, other: &Secp256k1Pubkey) -> bool
fn eq(&self, other: &Secp256k1Pubkey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Secp256k1Pubkey> for Secp256k1Pubkey
impl PartialOrd<Secp256k1Pubkey> for Secp256k1Pubkey
source§fn partial_cmp(&self, other: &Secp256k1Pubkey) -> Option<Ordering>
fn partial_cmp(&self, other: &Secp256k1Pubkey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more