[][src]Struct pbft_engine::protos::pbft_message::PbftMessage

pub struct PbftMessage {
    pub info: SingularPtrField<PbftMessageInfo>,
    pub block_id: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,


info: SingularPtrField<PbftMessageInfo>block_id: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize


impl PbftMessage[src]

pub fn new() -> PbftMessage[src]

pub fn get_info(&self) -> &PbftMessageInfo[src]

pub fn clear_info(&mut self)[src]

pub fn has_info(&self) -> bool[src]

pub fn set_info(&mut self, v: PbftMessageInfo)[src]

pub fn mut_info(&mut self) -> &mut PbftMessageInfo[src]

pub fn take_info(&mut self) -> PbftMessageInfo[src]

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

pub fn clear_block_id(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for PbftMessage[src]

impl Clone for PbftMessage[src]

impl Debug for PbftMessage[src]

impl Default for PbftMessage[src]

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

impl<'de> Deserialize<'de> for PbftMessage[src]

impl Eq for PbftMessage[src]

impl Hash for PbftMessage[src]

impl Message for PbftMessage[src]

impl PartialEq<PbftMessage> for PbftMessage[src]

impl ProtobufValue for PbftMessage[src]

impl Serialize for PbftMessage[src]

impl StructuralPartialEq for PbftMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for PbftMessage

impl Send for PbftMessage

impl Sync for PbftMessage

impl Unpin for PbftMessage

impl UnwindSafe for PbftMessage

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any