Struct kvproto::metapb::RegionEpoch[][src]

pub struct RegionEpoch {
    pub conf_ver: u64,
    pub version: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

conf_ver: u64version: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RegionEpoch[src]

pub fn new() -> RegionEpoch[src]

pub fn get_conf_ver(&self) -> u64[src]

pub fn clear_conf_ver(&mut self)[src]

pub fn set_conf_ver(&mut self, v: u64)[src]

pub fn get_version(&self) -> u64[src]

pub fn clear_version(&mut self)[src]

pub fn set_version(&mut self, v: u64)[src]

Trait Implementations

impl Clear for RegionEpoch[src]

impl Clone for RegionEpoch[src]

impl Debug for RegionEpoch[src]

impl Default for RegionEpoch[src]

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

impl Message for RegionEpoch[src]

impl PartialEq<RegionEpoch> for RegionEpoch[src]

impl PbPrint for RegionEpoch[src]

impl ProtobufValue for RegionEpoch[src]

impl StructuralPartialEq for RegionEpoch[src]

Auto Trait Implementations

impl RefUnwindSafe for RegionEpoch

impl Send for RegionEpoch

impl Sync for RegionEpoch

impl Unpin for RegionEpoch

impl UnwindSafe for RegionEpoch

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.