[][src]Struct abci::Evidence

pub struct Evidence {
    pub field_type: String,
    pub validator: SingularPtrField<Validator>,
    pub height: i64,
    pub time: SingularPtrField<Timestamp>,
    pub total_voting_power: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

field_type: Stringvalidator: SingularPtrField<Validator>height: i64time: SingularPtrField<Timestamp>total_voting_power: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Evidence[src]

pub fn new() -> Evidence[src]

pub fn get_field_type(&self) -> &str[src]

pub fn clear_field_type(&mut self)[src]

pub fn set_field_type(&mut self, v: String)[src]

pub fn mut_field_type(&mut self) -> &mut String[src]

pub fn take_field_type(&mut self) -> String[src]

pub fn get_validator(&self) -> &Validator[src]

pub fn clear_validator(&mut self)[src]

pub fn has_validator(&self) -> bool[src]

pub fn set_validator(&mut self, v: Validator)[src]

pub fn mut_validator(&mut self) -> &mut Validator[src]

pub fn take_validator(&mut self) -> Validator[src]

pub fn get_height(&self) -> i64[src]

pub fn clear_height(&mut self)[src]

pub fn set_height(&mut self, v: i64)[src]

pub fn get_time(&self) -> &Timestamp[src]

pub fn clear_time(&mut self)[src]

pub fn has_time(&self) -> bool[src]

pub fn set_time(&mut self, v: Timestamp)[src]

pub fn mut_time(&mut self) -> &mut Timestamp[src]

pub fn take_time(&mut self) -> Timestamp[src]

pub fn get_total_voting_power(&self) -> i64[src]

pub fn clear_total_voting_power(&mut self)[src]

pub fn set_total_voting_power(&mut self, v: i64)[src]

Trait Implementations

impl Clear for Evidence[src]

impl Clone for Evidence[src]

impl Debug for Evidence[src]

impl Default for Evidence[src]

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

impl Message for Evidence[src]

impl PartialEq<Evidence> for Evidence[src]

impl ProtobufValue for Evidence[src]

impl StructuralPartialEq for Evidence[src]

Auto Trait Implementations

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> 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, 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.