[−]Struct orga::abci::messages::VoteInfo
Fields
validator: SingularPtrField<Validator>
signed_last_block: bool
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl VoteInfo
pub fn new() -> VoteInfo
pub fn get_validator(&self) -> &Validator
pub fn clear_validator(&mut self)
pub fn has_validator(&self) -> bool
pub fn set_validator(&mut self, v: Validator)
pub fn mut_validator(&mut self) -> &mut Validator
pub fn take_validator(&mut self) -> Validator
pub fn get_signed_last_block(&self) -> bool
pub fn clear_signed_last_block(&mut self)
pub fn set_signed_last_block(&mut self, v: bool)
Trait Implementations
impl Clear for VoteInfo
fn clear(&mut self)
impl Clone for VoteInfo
fn clone(&self) -> VoteInfo
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VoteInfo
impl Default for VoteInfo
impl<'a> Default for &'a VoteInfo
impl Message for VoteInfo
fn is_initialized(&self) -> bool
fn merge_from(
&mut self,
is: &mut CodedInputStream<'_>
) -> Result<(), ProtobufError>
&mut self,
is: &mut CodedInputStream<'_>
) -> Result<(), ProtobufError>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn into_any(self: Box<VoteInfo>) -> Box<dyn Any + 'static>
fn descriptor(&self) -> &'static MessageDescriptor
fn new() -> VoteInfo
fn descriptor_static() -> &'static MessageDescriptor
fn default_instance() -> &'static VoteInfo
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
impl PartialEq<VoteInfo> for VoteInfo
impl ProtobufValue for VoteInfo
fn as_ref(&self) -> ProtobufValueRef<'_>
fn as_any(&self) -> &(dyn Any + 'static)
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Auto Trait Implementations
impl RefUnwindSafe for VoteInfo
impl Send for VoteInfo
impl Sync for VoteInfo
impl Terminated for VoteInfo
impl Unpin for VoteInfo
impl UnwindSafe for VoteInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,