Struct kvproto::import_kvpb::SwitchModeRequest[][src]

pub struct SwitchModeRequest {
    pub pd_addr: String,
    pub request: SingularPtrField<SwitchModeRequest>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

pd_addr: Stringrequest: SingularPtrField<SwitchModeRequest>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SwitchModeRequest[src]

pub fn new() -> SwitchModeRequest[src]

pub fn get_pd_addr(&self) -> &str[src]

pub fn clear_pd_addr(&mut self)[src]

pub fn set_pd_addr(&mut self, v: String)[src]

pub fn mut_pd_addr(&mut self) -> &mut String[src]

pub fn take_pd_addr(&mut self) -> String[src]

pub fn get_request(&self) -> &SwitchModeRequest[src]

pub fn clear_request(&mut self)[src]

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

pub fn set_request(&mut self, v: SwitchModeRequest)[src]

pub fn mut_request(&mut self) -> &mut SwitchModeRequest[src]

pub fn take_request(&mut self) -> SwitchModeRequest[src]

Trait Implementations

impl Clear for SwitchModeRequest[src]

impl Clone for SwitchModeRequest[src]

impl Debug for SwitchModeRequest[src]

impl Default for SwitchModeRequest[src]

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

impl Message for SwitchModeRequest[src]

impl PartialEq<SwitchModeRequest> for SwitchModeRequest[src]

impl PbPrint for SwitchModeRequest[src]

impl ProtobufValue for SwitchModeRequest[src]

impl StructuralPartialEq for SwitchModeRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SwitchModeRequest

impl Send for SwitchModeRequest

impl Sync for SwitchModeRequest

impl Unpin for SwitchModeRequest

impl UnwindSafe for SwitchModeRequest

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.