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

pub struct PbftSignedVote {
    pub header_bytes: Vec<u8>,
    pub header_signature: Vec<u8>,
    pub message_bytes: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,


header_bytes: Vec<u8>header_signature: Vec<u8>message_bytes: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize


impl PbftSignedVote[src]

pub fn new() -> PbftSignedVote[src]

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

pub fn clear_header_bytes(&mut self)[src]

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

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

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

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

pub fn clear_header_signature(&mut self)[src]

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

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

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

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

pub fn clear_message_bytes(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for PbftSignedVote[src]

impl Clone for PbftSignedVote[src]

impl Debug for PbftSignedVote[src]

impl Default for PbftSignedVote[src]

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

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

impl Display for PbftSignedVote[src]

impl Hash for PbftSignedVote[src]

impl Message for PbftSignedVote[src]

impl PartialEq<PbftSignedVote> for PbftSignedVote[src]

impl ProtobufValue for PbftSignedVote[src]

impl Serialize for PbftSignedVote[src]

impl StructuralPartialEq for PbftSignedVote[src]

Auto Trait Implementations

impl RefUnwindSafe for PbftSignedVote

impl Send for PbftSignedVote

impl Sync for PbftSignedVote

impl Unpin for PbftSignedVote

impl UnwindSafe for PbftSignedVote

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> ToString for T where
    T: Display + ?Sized

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