[][src]Struct abci::PubKey

pub struct PubKey {
    pub field_type: String,
    pub data: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

field_type: Stringdata: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl PubKey[src]

pub fn new() -> PubKey[src]

pub fn get_field_type(&self) -> &str[src]

pub fn clear_field_type(&mut self)[src]

pub fn set_field_type(&mut self, v: String)[src]

pub fn mut_field_type(&mut self) -> &mut String[src]

pub fn take_field_type(&mut self) -> String[src]

pub fn get_data(&self) -> &[u8][src]

pub fn clear_data(&mut self)[src]

pub fn set_data(&mut self, v: Vec<u8>)[src]

pub fn mut_data(&mut self) -> &mut Vec<u8>[src]

pub fn take_data(&mut self) -> Vec<u8>[src]

Trait Implementations

impl Clear for PubKey[src]

impl Clone for PubKey[src]

impl Debug for PubKey[src]

impl Default for PubKey[src]

impl<'a> Default for &'a PubKey[src]

impl Message for PubKey[src]

impl PartialEq<PubKey> for PubKey[src]

impl ProtobufValue 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, U> Into<U> for T where
    U: From<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.