Struct kvproto::pdpb::AllocIdResponse[][src]

pub struct AllocIdResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub id: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>id: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl AllocIdResponse[src]

pub fn new() -> AllocIdResponse[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_id(&self) -> u64[src]

pub fn clear_id(&mut self)[src]

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

Trait Implementations

impl Clear for AllocIdResponse[src]

impl Clone for AllocIdResponse[src]

impl Debug for AllocIdResponse[src]

impl Default for AllocIdResponse[src]

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

impl Message for AllocIdResponse[src]

impl PartialEq<AllocIdResponse> for AllocIdResponse[src]

impl PbPrint for AllocIdResponse[src]

impl ProtobufValue for AllocIdResponse[src]

impl StructuralPartialEq for AllocIdResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for AllocIdResponse

impl Send for AllocIdResponse

impl Sync for AllocIdResponse

impl Unpin for AllocIdResponse

impl UnwindSafe for AllocIdResponse

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.