pub struct SpEcdsaPublic(pub <Pair as Pair>::Public);
Expand description
Wrapper struct for the cryptographic public key.
Tuple Fields§
§0: <Pair as Pair>::Public
Trait Implementations§
Source§impl BytesEncoding for SpEcdsaPublic
impl BytesEncoding for SpEcdsaPublic
Source§impl Clone for SpEcdsaPublic
impl Clone for SpEcdsaPublic
Source§fn clone(&self) -> SpEcdsaPublic
fn clone(&self) -> SpEcdsaPublic
Returns a duplicate 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 SpEcdsaPublic
impl Debug for SpEcdsaPublic
Source§impl<'de> Deserialize<'de> for SpEcdsaPublic
impl<'de> Deserialize<'de> for SpEcdsaPublic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SpEcdsaPublic
impl Display for SpEcdsaPublic
Source§impl Hash for SpEcdsaPublic
impl Hash for SpEcdsaPublic
Source§impl Ord for SpEcdsaPublic
impl Ord for SpEcdsaPublic
Source§impl PartialEq for SpEcdsaPublic
impl PartialEq for SpEcdsaPublic
Source§impl PartialOrd for SpEcdsaPublic
impl PartialOrd for SpEcdsaPublic
Source§impl Serialize for SpEcdsaPublic
impl Serialize for SpEcdsaPublic
impl Copy for SpEcdsaPublic
impl Eq for SpEcdsaPublic
Auto Trait Implementations§
impl Freeze for SpEcdsaPublic
impl RefUnwindSafe for SpEcdsaPublic
impl Send for SpEcdsaPublic
impl Sync for SpEcdsaPublic
impl Unpin for SpEcdsaPublic
impl UnwindSafe for SpEcdsaPublic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.