Struct kvproto::mpp::DispatchTaskRequest[][src]

pub struct DispatchTaskRequest {
    pub meta: SingularPtrField<TaskMeta>,
    pub encoded_plan: Vec<u8>,
    pub timeout: i64,
    pub regions: RepeatedField<RegionInfo>,
    pub schema_ver: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

meta: SingularPtrField<TaskMeta>encoded_plan: Vec<u8>timeout: i64regions: RepeatedField<RegionInfo>schema_ver: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DispatchTaskRequest[src]

pub fn new() -> DispatchTaskRequest[src]

pub fn get_meta(&self) -> &TaskMeta[src]

pub fn clear_meta(&mut self)[src]

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

pub fn set_meta(&mut self, v: TaskMeta)[src]

pub fn mut_meta(&mut self) -> &mut TaskMeta[src]

pub fn take_meta(&mut self) -> TaskMeta[src]

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

pub fn clear_encoded_plan(&mut self)[src]

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

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

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

pub fn get_timeout(&self) -> i64[src]

pub fn clear_timeout(&mut self)[src]

pub fn set_timeout(&mut self, v: i64)[src]

pub fn get_regions(&self) -> &[RegionInfo][src]

pub fn clear_regions(&mut self)[src]

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

pub fn mut_regions(&mut self) -> &mut RepeatedField<RegionInfo>[src]

pub fn take_regions(&mut self) -> RepeatedField<RegionInfo>[src]

pub fn get_schema_ver(&self) -> i64[src]

pub fn clear_schema_ver(&mut self)[src]

pub fn set_schema_ver(&mut self, v: i64)[src]

Trait Implementations

impl Clear for DispatchTaskRequest[src]

impl Clone for DispatchTaskRequest[src]

impl Debug for DispatchTaskRequest[src]

impl Default for DispatchTaskRequest[src]

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

impl Message for DispatchTaskRequest[src]

impl PartialEq<DispatchTaskRequest> for DispatchTaskRequest[src]

impl PbPrint for DispatchTaskRequest[src]

impl ProtobufValue for DispatchTaskRequest[src]

impl StructuralPartialEq for DispatchTaskRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for DispatchTaskRequest

impl Send for DispatchTaskRequest

impl Sync for DispatchTaskRequest

impl Unpin for DispatchTaskRequest

impl UnwindSafe for DispatchTaskRequest

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.