Struct kvproto::import_sstpb::RewriteRule[][src]

pub struct RewriteRule {
    pub old_key_prefix: Vec<u8>,
    pub new_key_prefix: Vec<u8>,
    pub new_timestamp: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

old_key_prefix: Vec<u8>new_key_prefix: Vec<u8>new_timestamp: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RewriteRule[src]

pub fn new() -> RewriteRule[src]

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

pub fn clear_old_key_prefix(&mut self)[src]

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

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

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

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

pub fn clear_new_key_prefix(&mut self)[src]

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

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

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

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

pub fn clear_new_timestamp(&mut self)[src]

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

Trait Implementations

impl Clear for RewriteRule[src]

impl Clone for RewriteRule[src]

impl Debug for RewriteRule[src]

impl Default for RewriteRule[src]

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

impl Message for RewriteRule[src]

impl PartialEq<RewriteRule> for RewriteRule[src]

impl PbPrint for RewriteRule[src]

impl ProtobufValue for RewriteRule[src]

impl StructuralPartialEq for RewriteRule[src]

Auto Trait Implementations

impl RefUnwindSafe for RewriteRule

impl Send for RewriteRule

impl Sync for RewriteRule

impl Unpin for RewriteRule

impl UnwindSafe for RewriteRule

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.