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

pub struct PbftNewView {
    pub info: SingularPtrField<PbftMessageInfo>,
    pub view_changes: RepeatedField<PbftSignedVote>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,


info: SingularPtrField<PbftMessageInfo>view_changes: RepeatedField<PbftSignedVote>unknown_fields: UnknownFieldscached_size: CachedSize


impl PbftNewView[src]

pub fn new() -> PbftNewView[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_view_changes(&self) -> &[PbftSignedVote][src]

pub fn clear_view_changes(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for PbftNewView[src]

impl Clone for PbftNewView[src]

impl Debug for PbftNewView[src]

impl Default for PbftNewView[src]

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

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

impl Eq for PbftNewView[src]

impl Hash for PbftNewView[src]

impl Message for PbftNewView[src]

impl PartialEq<PbftNewView> for PbftNewView[src]

impl ProtobufValue for PbftNewView[src]

impl Serialize for PbftNewView[src]

impl StructuralPartialEq for PbftNewView[src]

Auto Trait Implementations

impl RefUnwindSafe for PbftNewView

impl Send for PbftNewView

impl Sync for PbftNewView

impl Unpin for PbftNewView

impl UnwindSafe for PbftNewView

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