Struct kvproto::import_sstpb::SstMeta[][src]

pub struct SstMeta {
    pub uuid: Vec<u8>,
    pub range: SingularPtrField<Range>,
    pub crc32: u32,
    pub length: u64,
    pub cf_name: String,
    pub region_id: u64,
    pub region_epoch: SingularPtrField<RegionEpoch>,
    pub end_key_exclusive: bool,
    pub total_kvs: u64,
    pub total_bytes: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

uuid: Vec<u8>range: SingularPtrField<Range>crc32: u32length: u64cf_name: Stringregion_id: u64region_epoch: SingularPtrField<RegionEpoch>end_key_exclusive: booltotal_kvs: u64total_bytes: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SstMeta[src]

pub fn new() -> SstMeta[src]

pub fn get_uuid(&self) -> &[u8][src]

pub fn clear_uuid(&mut self)[src]

pub fn set_uuid(&mut self, v: Vec<u8>)[src]

pub fn mut_uuid(&mut self) -> &mut Vec<u8>[src]

pub fn take_uuid(&mut self) -> Vec<u8>[src]

pub fn get_range(&self) -> &Range[src]

pub fn clear_range(&mut self)[src]

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

pub fn set_range(&mut self, v: Range)[src]

pub fn mut_range(&mut self) -> &mut Range[src]

pub fn take_range(&mut self) -> Range[src]

pub fn get_crc32(&self) -> u32[src]

pub fn clear_crc32(&mut self)[src]

pub fn set_crc32(&mut self, v: u32)[src]

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

pub fn clear_length(&mut self)[src]

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

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

pub fn clear_cf_name(&mut self)[src]

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

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

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

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

pub fn clear_region_id(&mut self)[src]

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

pub fn get_region_epoch(&self) -> &RegionEpoch[src]

pub fn clear_region_epoch(&mut self)[src]

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

pub fn set_region_epoch(&mut self, v: RegionEpoch)[src]

pub fn mut_region_epoch(&mut self) -> &mut RegionEpoch[src]

pub fn take_region_epoch(&mut self) -> RegionEpoch[src]

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

pub fn clear_end_key_exclusive(&mut self)[src]

pub fn set_end_key_exclusive(&mut self, v: bool)[src]

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

pub fn clear_total_kvs(&mut self)[src]

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

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

pub fn clear_total_bytes(&mut self)[src]

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

Trait Implementations

impl Clear for SstMeta[src]

impl Clone for SstMeta[src]

impl Debug for SstMeta[src]

impl Default for SstMeta[src]

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

impl Message for SstMeta[src]

impl PartialEq<SstMeta> for SstMeta[src]

impl PbPrint for SstMeta[src]

impl ProtobufValue for SstMeta[src]

impl StructuralPartialEq for SstMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for SstMeta

impl Send for SstMeta

impl Sync for SstMeta

impl Unpin for SstMeta

impl UnwindSafe for SstMeta

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.