Struct kvproto::import_sstpb::SwitchModeRequest[][src]

pub struct SwitchModeRequest {
    pub mode: SwitchMode,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

mode: SwitchModeunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SwitchModeRequest[src]

pub fn new() -> SwitchModeRequest[src]

pub fn get_mode(&self) -> SwitchMode[src]

pub fn clear_mode(&mut self)[src]

pub fn set_mode(&mut self, v: SwitchMode)[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.