Struct kvproto::enginepb::SnapshotRequest[][src]

pub struct SnapshotRequest {
    pub chunk: Option<SnapshotRequest_oneof_chunk>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

chunk: Option<SnapshotRequest_oneof_chunk>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SnapshotRequest[src]

pub fn new() -> SnapshotRequest[src]

pub fn get_state(&self) -> &SnapshotState[src]

pub fn clear_state(&mut self)[src]

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

pub fn set_state(&mut self, v: SnapshotState)[src]

pub fn mut_state(&mut self) -> &mut SnapshotState[src]

pub fn take_state(&mut self) -> SnapshotState[src]

pub fn get_data(&self) -> &SnapshotData[src]

pub fn clear_data(&mut self)[src]

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

pub fn set_data(&mut self, v: SnapshotData)[src]

pub fn mut_data(&mut self) -> &mut SnapshotData[src]

pub fn take_data(&mut self) -> SnapshotData[src]

Trait Implementations

impl Clear for SnapshotRequest[src]

impl Clone for SnapshotRequest[src]

impl Debug for SnapshotRequest[src]

impl Default for SnapshotRequest[src]

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

impl Message for SnapshotRequest[src]

impl PartialEq<SnapshotRequest> for SnapshotRequest[src]

impl PbPrint for SnapshotRequest[src]

impl ProtobufValue for SnapshotRequest[src]

impl StructuralPartialEq for SnapshotRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SnapshotRequest

impl Send for SnapshotRequest

impl Sync for SnapshotRequest

impl Unpin for SnapshotRequest

impl UnwindSafe for SnapshotRequest

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.