Struct kvproto::configpb::UpdateRequest[][src]

pub struct UpdateRequest {
    pub header: SingularPtrField<Header>,
    pub version: SingularPtrField<Version>,
    pub kind: SingularPtrField<ConfigKind>,
    pub entries: RepeatedField<ConfigEntry>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<Header>version: SingularPtrField<Version>kind: SingularPtrField<ConfigKind>entries: RepeatedField<ConfigEntry>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl UpdateRequest[src]

pub fn new() -> UpdateRequest[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

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

pub fn get_version(&self) -> &Version[src]

pub fn clear_version(&mut self)[src]

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

pub fn set_version(&mut self, v: Version)[src]

pub fn mut_version(&mut self) -> &mut Version[src]

pub fn take_version(&mut self) -> Version[src]

pub fn get_kind(&self) -> &ConfigKind[src]

pub fn clear_kind(&mut self)[src]

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

pub fn set_kind(&mut self, v: ConfigKind)[src]

pub fn mut_kind(&mut self) -> &mut ConfigKind[src]

pub fn take_kind(&mut self) -> ConfigKind[src]

pub fn get_entries(&self) -> &[ConfigEntry][src]

pub fn clear_entries(&mut self)[src]

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

pub fn mut_entries(&mut self) -> &mut RepeatedField<ConfigEntry>[src]

pub fn take_entries(&mut self) -> RepeatedField<ConfigEntry>[src]

Trait Implementations

impl Clear for UpdateRequest[src]

impl Clone for UpdateRequest[src]

impl Debug for UpdateRequest[src]

impl Default for UpdateRequest[src]

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

impl Message for UpdateRequest[src]

impl PartialEq<UpdateRequest> for UpdateRequest[src]

impl PbPrint for UpdateRequest[src]

impl ProtobufValue for UpdateRequest[src]

impl StructuralPartialEq for UpdateRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateRequest

impl Send for UpdateRequest

impl Sync for UpdateRequest

impl Unpin for UpdateRequest

impl UnwindSafe for UpdateRequest

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.