Struct kvproto::cdcpb::ChangeDataRequest[][src]

pub struct ChangeDataRequest {
    pub header: SingularPtrField<Header>,
    pub region_id: u64,
    pub region_epoch: SingularPtrField<RegionEpoch>,
    pub checkpoint_ts: u64,
    pub start_key: Vec<u8>,
    pub end_key: Vec<u8>,
    pub request_id: u64,
    pub extra_op: ExtraOp,
    pub request: Option<ChangeDataRequest_oneof_request>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<Header>region_id: u64region_epoch: SingularPtrField<RegionEpoch>checkpoint_ts: u64start_key: Vec<u8>end_key: Vec<u8>request_id: u64extra_op: ExtraOprequest: Option<ChangeDataRequest_oneof_request>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ChangeDataRequest[src]

pub fn new() -> ChangeDataRequest[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

pub fn take_header(&mut self) -> Header[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_region_epoch(&self) -> &RegionEpoch[src]

pub fn clear_region_epoch(&mut self)[src]

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

pub fn set_region_epoch(&mut self, v: RegionEpoch)[src]

pub fn mut_region_epoch(&mut self) -> &mut RegionEpoch[src]

pub fn take_region_epoch(&mut self) -> RegionEpoch[src]

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

pub fn clear_checkpoint_ts(&mut self)[src]

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

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

pub fn clear_start_key(&mut self)[src]

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

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

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

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

pub fn clear_end_key(&mut self)[src]

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

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

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

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

pub fn clear_request_id(&mut self)[src]

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

pub fn get_extra_op(&self) -> ExtraOp[src]

pub fn clear_extra_op(&mut self)[src]

pub fn set_extra_op(&mut self, v: ExtraOp)[src]

pub fn get_register(&self) -> &ChangeDataRequestRegister[src]

pub fn clear_register(&mut self)[src]

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

pub fn set_register(&mut self, v: ChangeDataRequestRegister)[src]

pub fn mut_register(&mut self) -> &mut ChangeDataRequestRegister[src]

pub fn take_register(&mut self) -> ChangeDataRequestRegister[src]

pub fn get_notify_txn_status(&self) -> &ChangeDataRequestNotifyTxnStatus[src]

pub fn clear_notify_txn_status(&mut self)[src]

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

pub fn set_notify_txn_status(&mut self, v: ChangeDataRequestNotifyTxnStatus)[src]

pub fn mut_notify_txn_status(&mut self) -> &mut ChangeDataRequestNotifyTxnStatus[src]

pub fn take_notify_txn_status(&mut self) -> ChangeDataRequestNotifyTxnStatus[src]

Trait Implementations

impl Clear for ChangeDataRequest[src]

impl Clone for ChangeDataRequest[src]

impl Debug for ChangeDataRequest[src]

impl Default for ChangeDataRequest[src]

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

impl Message for ChangeDataRequest[src]

impl PartialEq<ChangeDataRequest> for ChangeDataRequest[src]

impl PbPrint for ChangeDataRequest[src]

impl ProtobufValue for ChangeDataRequest[src]

impl StructuralPartialEq for ChangeDataRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ChangeDataRequest

impl Send for ChangeDataRequest

impl Sync for ChangeDataRequest

impl Unpin for ChangeDataRequest

impl UnwindSafe for ChangeDataRequest

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.