Struct kvproto::pdpb::GetOperatorResponse[][src]

pub struct GetOperatorResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub region_id: u64,
    pub desc: Vec<u8>,
    pub status: OperatorStatus,
    pub kind: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>region_id: u64desc: Vec<u8>status: OperatorStatuskind: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GetOperatorResponse[src]

pub fn new() -> GetOperatorResponse[src]

pub fn get_header(&self) -> &ResponseHeader[src]

pub fn clear_header(&mut self)[src]

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

pub fn set_header(&mut self, v: ResponseHeader)[src]

pub fn mut_header(&mut self) -> &mut ResponseHeader[src]

pub fn take_header(&mut self) -> ResponseHeader[src]

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

pub fn clear_region_id(&mut self)[src]

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

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

pub fn clear_desc(&mut self)[src]

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

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

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

pub fn get_status(&self) -> OperatorStatus[src]

pub fn clear_status(&mut self)[src]

pub fn set_status(&mut self, v: OperatorStatus)[src]

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

pub fn clear_kind(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for GetOperatorResponse[src]

impl Clone for GetOperatorResponse[src]

impl Debug for GetOperatorResponse[src]

impl Default for GetOperatorResponse[src]

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

impl Message for GetOperatorResponse[src]

impl PartialEq<GetOperatorResponse> for GetOperatorResponse[src]

impl PbPrint for GetOperatorResponse[src]

impl ProtobufValue for GetOperatorResponse[src]

impl StructuralPartialEq for GetOperatorResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for GetOperatorResponse

impl Send for GetOperatorResponse

impl Sync for GetOperatorResponse

impl Unpin for GetOperatorResponse

impl UnwindSafe for GetOperatorResponse

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.