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

pub struct PbftSeal {
    pub info: SingularPtrField<PbftMessageInfo>,
    pub block_id: Vec<u8>,
    pub commit_votes: RepeatedField<PbftSignedVote>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,


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


impl PbftSeal[src]

pub fn new() -> PbftSeal[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]

pub fn get_commit_votes(&self) -> &[PbftSignedVote][src]

pub fn clear_commit_votes(&mut self)[src]

pub fn set_commit_votes(&mut self, v: RepeatedField<PbftSignedVote>)[src]

pub fn mut_commit_votes(&mut self) -> &mut RepeatedField<PbftSignedVote>[src]

pub fn take_commit_votes(&mut self) -> RepeatedField<PbftSignedVote>[src]

Trait Implementations

impl Clear for PbftSeal[src]

impl Clone for PbftSeal[src]

impl Debug for PbftSeal[src]

impl Default for PbftSeal[src]

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

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

impl Display for PbftSeal[src]

impl Eq for PbftSeal[src]

impl Hash for PbftSeal[src]

impl Message for PbftSeal[src]

impl PartialEq<PbftSeal> for PbftSeal[src]

impl ProtobufValue for PbftSeal[src]

impl Serialize for PbftSeal[src]

impl StructuralPartialEq for PbftSeal[src]

Auto Trait Implementations

impl RefUnwindSafe for PbftSeal

impl Send for PbftSeal

impl Sync for PbftSeal

impl Unpin for PbftSeal

impl UnwindSafe for PbftSeal

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