Struct kvproto::enginepb::SnapshotData[][src]

pub struct SnapshotData {
    pub cf: String,
    pub checksum: u32,
    pub data: RepeatedField<KeyValue>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cf: Stringchecksum: u32data: RepeatedField<KeyValue>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SnapshotData[src]

pub fn new() -> SnapshotData[src]

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

pub fn clear_cf(&mut self)[src]

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

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

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

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

pub fn clear_checksum(&mut self)[src]

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

pub fn get_data(&self) -> &[KeyValue][src]

pub fn clear_data(&mut self)[src]

pub fn set_data(&mut self, v: RepeatedField<KeyValue>)[src]

pub fn mut_data(&mut self) -> &mut RepeatedField<KeyValue>[src]

pub fn take_data(&mut self) -> RepeatedField<KeyValue>[src]

Trait Implementations

impl Clear for SnapshotData[src]

impl Clone for SnapshotData[src]

impl Debug for SnapshotData[src]

impl Default for SnapshotData[src]

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

impl Message for SnapshotData[src]

impl PartialEq<SnapshotData> for SnapshotData[src]

impl PbPrint for SnapshotData[src]

impl ProtobufValue for SnapshotData[src]

impl StructuralPartialEq for SnapshotData[src]

Auto Trait Implementations

impl RefUnwindSafe for SnapshotData

impl Send for SnapshotData

impl Sync for SnapshotData

impl Unpin for SnapshotData

impl UnwindSafe for SnapshotData

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.