Struct kvproto::enginepb::CommandRequest[][src]

pub struct CommandRequest {
    pub header: SingularPtrField<CommandRequestHeader>,
    pub requests: RepeatedField<Request>,
    pub admin_request: SingularPtrField<AdminRequest>,
    pub admin_response: SingularPtrField<AdminResponse>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<CommandRequestHeader>requests: RepeatedField<Request>admin_request: SingularPtrField<AdminRequest>admin_response: SingularPtrField<AdminResponse>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CommandRequest[src]

pub fn new() -> CommandRequest[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

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

pub fn get_requests(&self) -> &[Request][src]

pub fn clear_requests(&mut self)[src]

pub fn set_requests(&mut self, v: RepeatedField<Request>)[src]

pub fn mut_requests(&mut self) -> &mut RepeatedField<Request>[src]

pub fn take_requests(&mut self) -> RepeatedField<Request>[src]

pub fn get_admin_request(&self) -> &AdminRequest[src]

pub fn clear_admin_request(&mut self)[src]

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

pub fn set_admin_request(&mut self, v: AdminRequest)[src]

pub fn mut_admin_request(&mut self) -> &mut AdminRequest[src]

pub fn take_admin_request(&mut self) -> AdminRequest[src]

pub fn get_admin_response(&self) -> &AdminResponse[src]

pub fn clear_admin_response(&mut self)[src]

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

pub fn set_admin_response(&mut self, v: AdminResponse)[src]

pub fn mut_admin_response(&mut self) -> &mut AdminResponse[src]

pub fn take_admin_response(&mut self) -> AdminResponse[src]

Trait Implementations

impl Clear for CommandRequest[src]

impl Clone for CommandRequest[src]

impl Debug for CommandRequest[src]

impl Default for CommandRequest[src]

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

impl Message for CommandRequest[src]

impl PartialEq<CommandRequest> for CommandRequest[src]

impl PbPrint for CommandRequest[src]

impl ProtobufValue for CommandRequest[src]

impl StructuralPartialEq for CommandRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CommandRequest

impl Send for CommandRequest

impl Sync for CommandRequest

impl Unpin for CommandRequest

impl UnwindSafe for CommandRequest

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.