[]Struct orga::abci::messages::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

pub fn new() -> PubKey

pub fn get_field_type(&self) -> &str

pub fn clear_field_type(&mut self)

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

pub fn mut_field_type(&mut self) -> &mut String

pub fn take_field_type(&mut self) -> String

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

pub fn clear_data(&mut self)

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

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

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

Trait Implementations

impl Clear for PubKey

impl Clone for PubKey

impl Debug for PubKey

impl Default for PubKey

impl<'a> Default for &'a PubKey

impl Message for PubKey

impl PartialEq<PubKey> for PubKey

impl ProtobufValue for PubKey

Auto Trait Implementations

impl RefUnwindSafe for PubKey

impl Send for PubKey

impl Sync for PubKey

impl Terminated 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> Clear for T where
    T: InitializableFromZeroed + ?Sized

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

impl<T> InitializableFromZeroed for T where
    T: Default

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,