Struct solana_sdk::secp256k1_recover::Secp256k1Pubkey
source · Tuple Fields
0: [u8; 64]
Implementations
Trait Implementations
sourceimpl AbiExample for Secp256k1Pubkey
impl AbiExample for Secp256k1Pubkey
fn example() -> Secp256k1Pubkey
sourceimpl BorshDeserialize for Secp256k1Pubkey
impl BorshDeserialize for Secp256k1Pubkey
sourcefn deserialize(buf: &mut &[u8]) -> Result<Secp256k1Pubkey, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Secp256k1Pubkey, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
sourcefn 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.
sourceimpl BorshSchema for Secp256k1Pubkeywhere
[u8; 64]: BorshSchema,
impl BorshSchema for Secp256k1Pubkeywhere
[u8; 64]: BorshSchema,
sourcefn declaration() -> String
fn declaration() -> String
Get the name of the type without brackets.
sourcefn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
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. Read more
sourcefn 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
sourceimpl BorshSerialize for Secp256k1Pubkey
impl BorshSerialize for Secp256k1Pubkey
sourceimpl Clone for Secp256k1Pubkey
impl Clone for Secp256k1Pubkey
sourcefn clone(&self) -> Secp256k1Pubkey
fn clone(&self) -> Secp256k1Pubkey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Hash for Secp256k1Pubkey
impl Hash for Secp256k1Pubkey
sourceimpl Ord for Secp256k1Pubkey
impl Ord for Secp256k1Pubkey
sourcefn cmp(&self, other: &Secp256k1Pubkey) -> Ordering
fn cmp(&self, other: &Secp256k1Pubkey) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Secp256k1Pubkey> for Secp256k1Pubkey
impl PartialEq<Secp256k1Pubkey> for Secp256k1Pubkey
sourcefn eq(&self, other: &Secp256k1Pubkey) -> bool
fn eq(&self, other: &Secp256k1Pubkey) -> bool
sourceimpl PartialOrd<Secp256k1Pubkey> for Secp256k1Pubkey
impl PartialOrd<Secp256k1Pubkey> for Secp256k1Pubkey
sourcefn partial_cmp(&self, other: &Secp256k1Pubkey) -> Option<Ordering>
fn partial_cmp(&self, other: &Secp256k1Pubkey) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl Copy for Secp256k1Pubkey
impl Eq for Secp256k1Pubkey
impl StructuralEq for Secp256k1Pubkey
impl StructuralPartialEq for Secp256k1Pubkey
Auto Trait Implementations
impl RefUnwindSafe for Secp256k1Pubkey
impl Send for Secp256k1Pubkey
impl Sync for Secp256k1Pubkey
impl Unpin for Secp256k1Pubkey
impl UnwindSafe for Secp256k1Pubkey
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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