pub struct Rpc_Req_WifiScanStart {
pub config: wifi_scan_config,
pub block: bool,
pub config_set: i32,
pub _has: _Hazzer,
}
Fields§
§config: wifi_scan_config
§block: bool
§config_set: i32
§_has: _Hazzer
Implementations§
Source§impl Rpc_Req_WifiScanStart
impl Rpc_Req_WifiScanStart
Sourcepub fn config(&self) -> Option<&wifi_scan_config>
pub fn config(&self) -> Option<&wifi_scan_config>
Return a reference to config
as an Option
Sourcepub fn set_config(&mut self, value: wifi_scan_config) -> &mut Self
pub fn set_config(&mut self, value: wifi_scan_config) -> &mut Self
Set the value and presence of config
Sourcepub fn mut_config(&mut self) -> Option<&mut wifi_scan_config>
pub fn mut_config(&mut self) -> Option<&mut wifi_scan_config>
Return a mutable reference to config
as an Option
Sourcepub fn clear_config(&mut self) -> &mut Self
pub fn clear_config(&mut self) -> &mut Self
Clear the presence of config
Sourcepub fn take_config(&mut self) -> Option<wifi_scan_config>
pub fn take_config(&mut self) -> Option<wifi_scan_config>
Take the value of config
and clear its presence
Sourcepub fn init_config(self, value: wifi_scan_config) -> Self
pub fn init_config(self, value: wifi_scan_config) -> Self
Builder method that sets the value of config
. Useful for initializing the message.
Sourcepub fn init_block(self, value: bool) -> Self
pub fn init_block(self, value: bool) -> Self
Builder method that sets the value of block
. Useful for initializing the message.
Sourcepub fn config_set(&self) -> &i32
pub fn config_set(&self) -> &i32
Return a reference to config_set
Sourcepub fn mut_config_set(&mut self) -> &mut i32
pub fn mut_config_set(&mut self) -> &mut i32
Return a mutable reference to config_set
Sourcepub fn set_config_set(&mut self, value: i32) -> &mut Self
pub fn set_config_set(&mut self, value: i32) -> &mut Self
Set the value of config_set
Sourcepub fn init_config_set(self, value: i32) -> Self
pub fn init_config_set(self, value: i32) -> Self
Builder method that sets the value of config_set
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for Rpc_Req_WifiScanStart
impl Clone for Rpc_Req_WifiScanStart
Source§fn clone(&self) -> Rpc_Req_WifiScanStart
fn clone(&self) -> Rpc_Req_WifiScanStart
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Rpc_Req_WifiScanStart
impl Debug for Rpc_Req_WifiScanStart
Source§impl Default for Rpc_Req_WifiScanStart
impl Default for Rpc_Req_WifiScanStart
Source§fn default() -> Rpc_Req_WifiScanStart
fn default() -> Rpc_Req_WifiScanStart
Returns the “default value” for a type. Read more
Source§impl MessageDecode for Rpc_Req_WifiScanStart
impl MessageDecode for Rpc_Req_WifiScanStart
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
Decode an instance of the message from the decoder and merge it into
self
. Read moreSource§fn decode_from_bytes(
&mut self,
bytes: &[u8],
) -> Result<(), DecodeError<Infallible>>
fn decode_from_bytes( &mut self, bytes: &[u8], ) -> Result<(), DecodeError<Infallible>>
Decode an instance of the message from the provided bytes
Source§fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
Decode an instance of the message from the decoder as a length-delimited record, starting with a length
prefix.
Source§impl MessageEncode for Rpc_Req_WifiScanStart
impl MessageEncode for Rpc_Req_WifiScanStart
Source§impl PartialEq for Rpc_Req_WifiScanStart
impl PartialEq for Rpc_Req_WifiScanStart
Auto Trait Implementations§
impl Freeze for Rpc_Req_WifiScanStart
impl RefUnwindSafe for Rpc_Req_WifiScanStart
impl Send for Rpc_Req_WifiScanStart
impl Sync for Rpc_Req_WifiScanStart
impl Unpin for Rpc_Req_WifiScanStart
impl UnwindSafe for Rpc_Req_WifiScanStart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more