[][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,
}

Fields

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

Implementations

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
[src]

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

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

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

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<T> UnsafeAny for T where
    T: Any