pub struct wifi_scan_config {
pub ssid: Vec<u8, 33>,
pub bssid: Vec<u8, 6>,
pub channel: u32,
pub show_hidden: bool,
pub scan_type: i32,
pub scan_time: wifi_scan_time,
pub home_chan_dwell_time: u32,
pub _has: _Hazzer,
}
Fields§
§ssid: Vec<u8, 33>
§bssid: Vec<u8, 6>
§channel: u32
§scan_type: i32
§scan_time: wifi_scan_time
§home_chan_dwell_time: u32
§_has: _Hazzer
Implementations§
Source§impl wifi_scan_config
impl wifi_scan_config
Sourcepub fn init_ssid(self, value: Vec<u8, 33>) -> Self
pub fn init_ssid(self, value: Vec<u8, 33>) -> Self
Builder method that sets the value of ssid
. Useful for initializing the message.
Sourcepub fn init_bssid(self, value: Vec<u8, 6>) -> Self
pub fn init_bssid(self, value: Vec<u8, 6>) -> Self
Builder method that sets the value of bssid
. Useful for initializing the message.
Sourcepub fn mut_channel(&mut self) -> &mut u32
pub fn mut_channel(&mut self) -> &mut u32
Return a mutable reference to channel
Sourcepub fn set_channel(&mut self, value: u32) -> &mut Self
pub fn set_channel(&mut self, value: u32) -> &mut Self
Set the value of channel
Sourcepub fn init_channel(self, value: u32) -> Self
pub fn init_channel(self, value: u32) -> Self
Builder method that sets the value of channel
. Useful for initializing the message.
Return a reference to show_hidden
Return a mutable reference to show_hidden
Set the value of show_hidden
Builder method that sets the value of show_hidden
. Useful for initializing the message.
Sourcepub fn mut_scan_type(&mut self) -> &mut i32
pub fn mut_scan_type(&mut self) -> &mut i32
Return a mutable reference to scan_type
Sourcepub fn set_scan_type(&mut self, value: i32) -> &mut Self
pub fn set_scan_type(&mut self, value: i32) -> &mut Self
Set the value of scan_type
Sourcepub fn init_scan_type(self, value: i32) -> Self
pub fn init_scan_type(self, value: i32) -> Self
Builder method that sets the value of scan_type
. Useful for initializing the message.
Sourcepub fn scan_time(&self) -> Option<&wifi_scan_time>
pub fn scan_time(&self) -> Option<&wifi_scan_time>
Return a reference to scan_time
as an Option
Sourcepub fn set_scan_time(&mut self, value: wifi_scan_time) -> &mut Self
pub fn set_scan_time(&mut self, value: wifi_scan_time) -> &mut Self
Set the value and presence of scan_time
Sourcepub fn mut_scan_time(&mut self) -> Option<&mut wifi_scan_time>
pub fn mut_scan_time(&mut self) -> Option<&mut wifi_scan_time>
Return a mutable reference to scan_time
as an Option
Sourcepub fn clear_scan_time(&mut self) -> &mut Self
pub fn clear_scan_time(&mut self) -> &mut Self
Clear the presence of scan_time
Sourcepub fn take_scan_time(&mut self) -> Option<wifi_scan_time>
pub fn take_scan_time(&mut self) -> Option<wifi_scan_time>
Take the value of scan_time
and clear its presence
Sourcepub fn init_scan_time(self, value: wifi_scan_time) -> Self
pub fn init_scan_time(self, value: wifi_scan_time) -> Self
Builder method that sets the value of scan_time
. Useful for initializing the message.
Sourcepub fn home_chan_dwell_time(&self) -> &u32
pub fn home_chan_dwell_time(&self) -> &u32
Return a reference to home_chan_dwell_time
Sourcepub fn mut_home_chan_dwell_time(&mut self) -> &mut u32
pub fn mut_home_chan_dwell_time(&mut self) -> &mut u32
Return a mutable reference to home_chan_dwell_time
Sourcepub fn set_home_chan_dwell_time(&mut self, value: u32) -> &mut Self
pub fn set_home_chan_dwell_time(&mut self, value: u32) -> &mut Self
Set the value of home_chan_dwell_time
Sourcepub fn init_home_chan_dwell_time(self, value: u32) -> Self
pub fn init_home_chan_dwell_time(self, value: u32) -> Self
Builder method that sets the value of home_chan_dwell_time
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_scan_config
impl Clone for wifi_scan_config
Source§fn clone(&self) -> wifi_scan_config
fn clone(&self) -> wifi_scan_config
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for wifi_scan_config
impl Debug for wifi_scan_config
Source§impl Default for wifi_scan_config
impl Default for wifi_scan_config
Source§fn default() -> wifi_scan_config
fn default() -> wifi_scan_config
Source§impl MessageDecode for wifi_scan_config
impl MessageDecode for wifi_scan_config
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>>
self
. Read more