Struct kvproto::kvrpcpb::RawCoprocessorRequest[][src]

pub struct RawCoprocessorRequest {
    pub context: SingularPtrField<Context>,
    pub copr_name: String,
    pub copr_version_req: String,
    pub ranges: RepeatedField<KeyRange>,
    pub data: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>copr_name: Stringcopr_version_req: Stringranges: RepeatedField<KeyRange>data: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RawCoprocessorRequest[src]

pub fn new() -> RawCoprocessorRequest[src]

pub fn get_context(&self) -> &Context[src]

pub fn clear_context(&mut self)[src]

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

pub fn set_context(&mut self, v: Context)[src]

pub fn mut_context(&mut self) -> &mut Context[src]

pub fn take_context(&mut self) -> Context[src]

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

pub fn clear_copr_name(&mut self)[src]

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

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

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

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

pub fn clear_copr_version_req(&mut self)[src]

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

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

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

pub fn get_ranges(&self) -> &[KeyRange][src]

pub fn clear_ranges(&mut self)[src]

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

pub fn mut_ranges(&mut self) -> &mut RepeatedField<KeyRange>[src]

pub fn take_ranges(&mut self) -> RepeatedField<KeyRange>[src]

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

pub fn clear_data(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for RawCoprocessorRequest[src]

impl Clone for RawCoprocessorRequest[src]

impl Debug for RawCoprocessorRequest[src]

impl Default for RawCoprocessorRequest[src]

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

impl Message for RawCoprocessorRequest[src]

impl PartialEq<RawCoprocessorRequest> for RawCoprocessorRequest[src]

impl PbPrint for RawCoprocessorRequest[src]

impl ProtobufValue for RawCoprocessorRequest[src]

impl StructuralPartialEq for RawCoprocessorRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RawCoprocessorRequest

impl Send for RawCoprocessorRequest

impl Sync for RawCoprocessorRequest

impl Unpin for RawCoprocessorRequest

impl UnwindSafe for RawCoprocessorRequest

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.