Struct kvproto::pdpb::BootstrapResponse[][src]

pub struct BootstrapResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub replication_status: SingularPtrField<ReplicationStatus>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>replication_status: SingularPtrField<ReplicationStatus>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BootstrapResponse[src]

pub fn new() -> BootstrapResponse[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_replication_status(&self) -> &ReplicationStatus[src]

pub fn clear_replication_status(&mut self)[src]

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

pub fn set_replication_status(&mut self, v: ReplicationStatus)[src]

pub fn mut_replication_status(&mut self) -> &mut ReplicationStatus[src]

pub fn take_replication_status(&mut self) -> ReplicationStatus[src]

Trait Implementations

impl Clear for BootstrapResponse[src]

impl Clone for BootstrapResponse[src]

impl Debug for BootstrapResponse[src]

impl Default for BootstrapResponse[src]

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

impl Message for BootstrapResponse[src]

impl PartialEq<BootstrapResponse> for BootstrapResponse[src]

impl PbPrint for BootstrapResponse[src]

impl ProtobufValue for BootstrapResponse[src]

impl StructuralPartialEq for BootstrapResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for BootstrapResponse

impl Send for BootstrapResponse

impl Sync for BootstrapResponse

impl Unpin for BootstrapResponse

impl UnwindSafe for BootstrapResponse

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.