Struct cosmos_sdk_proto::cosmos::crypto::secp256k1::PubKey[][src]

pub struct PubKey {
    pub key: Vec<u8>,
}

PubKey defines a secp256k1 public key Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte if the y-coordinate is the lexicographically largest of the two associated with the x-coordinate. Otherwise the first byte is a 0x03. This prefix is followed with the x-coordinate.

Fields

key: Vec<u8>

Trait Implementations

impl Clone for PubKey[src]

impl Debug for PubKey[src]

impl Default for PubKey[src]

impl Message for PubKey[src]

impl PartialEq<PubKey> for PubKey[src]

impl StructuralPartialEq for PubKey[src]

Auto Trait Implementations

impl RefUnwindSafe for PubKey

impl Send for PubKey

impl Sync for PubKey

impl Unpin for PubKey

impl UnwindSafe for PubKey

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]