Struct kvproto::pdpb::SplitRegion[][src]

pub struct SplitRegion {
    pub policy: CheckPolicy,
    pub keys: RepeatedField<Vec<u8>>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

policy: CheckPolicykeys: RepeatedField<Vec<u8>>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SplitRegion[src]

pub fn new() -> SplitRegion[src]

pub fn get_policy(&self) -> CheckPolicy[src]

pub fn clear_policy(&mut self)[src]

pub fn set_policy(&mut self, v: CheckPolicy)[src]

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

pub fn clear_keys(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for SplitRegion[src]

impl Clone for SplitRegion[src]

impl Debug for SplitRegion[src]

impl Default for SplitRegion[src]

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

impl Message for SplitRegion[src]

impl PartialEq<SplitRegion> for SplitRegion[src]

impl PbPrint for SplitRegion[src]

impl ProtobufValue for SplitRegion[src]

impl StructuralPartialEq for SplitRegion[src]

Auto Trait Implementations

impl RefUnwindSafe for SplitRegion

impl Send for SplitRegion

impl Sync for SplitRegion

impl Unpin for SplitRegion

impl UnwindSafe for SplitRegion

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.