Struct kvproto::pdpb::UpdateServiceGcSafePointRequest[][src]

pub struct UpdateServiceGcSafePointRequest {
    pub header: SingularPtrField<RequestHeader>,
    pub service_id: Vec<u8>,
    pub ttl: i64,
    pub safe_point: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<RequestHeader>service_id: Vec<u8>ttl: i64safe_point: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl UpdateServiceGcSafePointRequest[src]

pub fn new() -> UpdateServiceGcSafePointRequest[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

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

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

pub fn clear_service_id(&mut self)[src]

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

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

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

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

pub fn clear_ttl(&mut self)[src]

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

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

pub fn clear_safe_point(&mut self)[src]

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

Trait Implementations

impl Clear for UpdateServiceGcSafePointRequest[src]

impl Clone for UpdateServiceGcSafePointRequest[src]

impl Debug for UpdateServiceGcSafePointRequest[src]

impl Default for UpdateServiceGcSafePointRequest[src]

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

impl Message for UpdateServiceGcSafePointRequest[src]

impl PartialEq<UpdateServiceGcSafePointRequest> for UpdateServiceGcSafePointRequest[src]

impl PbPrint for UpdateServiceGcSafePointRequest[src]

impl ProtobufValue for UpdateServiceGcSafePointRequest[src]

impl StructuralPartialEq for UpdateServiceGcSafePointRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateServiceGcSafePointRequest

impl Send for UpdateServiceGcSafePointRequest

impl Sync for UpdateServiceGcSafePointRequest

impl Unpin for UpdateServiceGcSafePointRequest

impl UnwindSafe for UpdateServiceGcSafePointRequest

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.