Struct sp_core::crypto::CryptoTypePublicPair [−][src]
pub struct CryptoTypePublicPair(pub CryptoTypeId, pub Vec<u8>);
A type alias of CryptoTypeId & a public key
Trait Implementations
impl Clone for CryptoTypePublicPair
[src]
impl Clone for CryptoTypePublicPair
[src]fn clone(&self) -> CryptoTypePublicPair
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Decode for CryptoTypePublicPair
[src]
impl Decode for CryptoTypePublicPair
[src]impl Default for CryptoTypePublicPair
[src]
impl Default for CryptoTypePublicPair
[src]fn default() -> CryptoTypePublicPair
[src]
impl<'de> Deserialize<'de> for CryptoTypePublicPair
[src]
impl<'de> Deserialize<'de> for CryptoTypePublicPair
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encode for CryptoTypePublicPair
[src]
impl Encode for CryptoTypePublicPair
[src]fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
pub fn size_hint(&self) -> usize
[src]
pub fn encode(&self) -> Vec<u8, Global>
[src]
pub fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
pub fn encoded_size(&self) -> usize
[src]
impl Hash for CryptoTypePublicPair
[src]
impl Hash for CryptoTypePublicPair
[src]impl Ord for CryptoTypePublicPair
[src]
impl Ord for CryptoTypePublicPair
[src]impl PartialEq<CryptoTypePublicPair> for CryptoTypePublicPair
[src]
impl PartialEq<CryptoTypePublicPair> for CryptoTypePublicPair
[src]fn eq(&self, other: &CryptoTypePublicPair) -> bool
[src]
fn ne(&self, other: &CryptoTypePublicPair) -> bool
[src]
impl PartialOrd<CryptoTypePublicPair> for CryptoTypePublicPair
[src]
impl PartialOrd<CryptoTypePublicPair> for CryptoTypePublicPair
[src]fn partial_cmp(&self, other: &CryptoTypePublicPair) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for CryptoTypePublicPair
[src]
impl Serialize for CryptoTypePublicPair
[src]impl EncodeLike<CryptoTypePublicPair> for CryptoTypePublicPair
[src]
impl Eq for CryptoTypePublicPair
[src]
impl StructuralEq for CryptoTypePublicPair
[src]
impl StructuralPartialEq for CryptoTypePublicPair
[src]
Auto Trait Implementations
impl RefUnwindSafe for CryptoTypePublicPair
impl Send for CryptoTypePublicPair
impl Sync for CryptoTypePublicPair
impl Unpin for CryptoTypePublicPair
impl UnwindSafe for CryptoTypePublicPair
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> DecodeLimit for T where
T: Decode,
[src]
impl<T> DecodeLimit for T where
T: Decode,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(Self) -> T
[src]
impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: ToOwned + Encode,
[src]
T: ToOwned + Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<S> FullCodec for S where
S: Decode + FullEncode,
[src]
S: Decode + FullEncode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,