Struct tipb::ChecksumRewriteRule[][src]

pub struct ChecksumRewriteRule {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ChecksumRewriteRule[src]

pub fn new() -> ChecksumRewriteRule[src]

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

pub fn clear_old_prefix(&mut self)[src]

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

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

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

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

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

pub fn clear_new_prefix(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for ChecksumRewriteRule[src]

impl Clone for ChecksumRewriteRule[src]

impl Debug for ChecksumRewriteRule[src]

impl Default for ChecksumRewriteRule[src]

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

impl Message for ChecksumRewriteRule[src]

impl PartialEq<ChecksumRewriteRule> for ChecksumRewriteRule[src]

impl PbPrint for ChecksumRewriteRule[src]

impl ProtobufValue for ChecksumRewriteRule[src]

impl StructuralPartialEq for ChecksumRewriteRule[src]

Auto Trait Implementations

impl RefUnwindSafe for ChecksumRewriteRule

impl Send for ChecksumRewriteRule

impl Sync for ChecksumRewriteRule

impl Unpin for ChecksumRewriteRule

impl UnwindSafe for ChecksumRewriteRule

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.