[−]Struct orga::abci::messages::ValidatorUpdate
Fields
pub_key: SingularPtrField<PubKey>
power: i64
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl ValidatorUpdate
pub fn new() -> ValidatorUpdate
pub fn get_pub_key(&self) -> &PubKey
pub fn clear_pub_key(&mut self)
pub fn has_pub_key(&self) -> bool
pub fn set_pub_key(&mut self, v: PubKey)
pub fn mut_pub_key(&mut self) -> &mut PubKey
pub fn take_pub_key(&mut self) -> PubKey
pub fn get_power(&self) -> i64
pub fn clear_power(&mut self)
pub fn set_power(&mut self, v: i64)
Trait Implementations
impl Clear for ValidatorUpdate
fn clear(&mut self)
impl Clone for ValidatorUpdate
fn clone(&self) -> ValidatorUpdate
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ValidatorUpdate
impl Default for ValidatorUpdate
fn default() -> ValidatorUpdate
impl<'a> Default for &'a ValidatorUpdate
fn default() -> &'a ValidatorUpdate
impl Message for ValidatorUpdate
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<ValidatorUpdate>) -> Box<dyn Any + 'static>
fn descriptor(&self) -> &'static MessageDescriptor
fn new() -> ValidatorUpdate
fn descriptor_static() -> &'static MessageDescriptor
fn default_instance() -> &'static ValidatorUpdate
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<ValidatorUpdate> for ValidatorUpdate
fn eq(&self, other: &ValidatorUpdate) -> bool
fn ne(&self, other: &ValidatorUpdate) -> bool
impl ProtobufValue for ValidatorUpdate
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 ValidatorUpdate
impl Send for ValidatorUpdate
impl Sync for ValidatorUpdate
impl Terminated for ValidatorUpdate
impl Unpin for ValidatorUpdate
impl UnwindSafe for ValidatorUpdate
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>,