pub struct wifi_ap_record {Show 16 fields
pub bssid: Vec<u8, 6>,
pub ssid: Vec<u8, 33>,
pub primary: u32,
pub second: i32,
pub rssi: i32,
pub authmode: i32,
pub pairwise_cipher: i32,
pub group_cipher: i32,
pub ant: i32,
pub bitmask: u32,
pub country: wifi_country,
pub he_ap: wifi_he_ap_info,
pub bandwidth: u32,
pub vht_ch_freq1: u32,
pub vht_ch_freq2: u32,
pub _has: _Hazzer,
}
Fields§
§bssid: Vec<u8, 6>
§ssid: Vec<u8, 33>
§primary: u32
§second: i32
§rssi: i32
§authmode: i32
§pairwise_cipher: i32
§group_cipher: i32
§ant: i32
§bitmask: u32
§country: wifi_country
§he_ap: wifi_he_ap_info
§bandwidth: u32
§vht_ch_freq1: u32
§vht_ch_freq2: u32
§_has: _Hazzer
Implementations§
Source§impl wifi_ap_record
impl wifi_ap_record
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 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 mut_primary(&mut self) -> &mut u32
pub fn mut_primary(&mut self) -> &mut u32
Return a mutable reference to primary
Sourcepub fn set_primary(&mut self, value: u32) -> &mut Self
pub fn set_primary(&mut self, value: u32) -> &mut Self
Set the value of primary
Sourcepub fn init_primary(self, value: u32) -> Self
pub fn init_primary(self, value: u32) -> Self
Builder method that sets the value of primary
. Useful for initializing the message.
Sourcepub fn mut_second(&mut self) -> &mut i32
pub fn mut_second(&mut self) -> &mut i32
Return a mutable reference to second
Sourcepub fn set_second(&mut self, value: i32) -> &mut Self
pub fn set_second(&mut self, value: i32) -> &mut Self
Set the value of second
Sourcepub fn init_second(self, value: i32) -> Self
pub fn init_second(self, value: i32) -> Self
Builder method that sets the value of second
. Useful for initializing the message.
Sourcepub fn init_rssi(self, value: i32) -> Self
pub fn init_rssi(self, value: i32) -> Self
Builder method that sets the value of rssi
. Useful for initializing the message.
Sourcepub fn mut_authmode(&mut self) -> &mut i32
pub fn mut_authmode(&mut self) -> &mut i32
Return a mutable reference to authmode
Sourcepub fn set_authmode(&mut self, value: i32) -> &mut Self
pub fn set_authmode(&mut self, value: i32) -> &mut Self
Set the value of authmode
Sourcepub fn init_authmode(self, value: i32) -> Self
pub fn init_authmode(self, value: i32) -> Self
Builder method that sets the value of authmode
. Useful for initializing the message.
Sourcepub fn pairwise_cipher(&self) -> &i32
pub fn pairwise_cipher(&self) -> &i32
Return a reference to pairwise_cipher
Sourcepub fn mut_pairwise_cipher(&mut self) -> &mut i32
pub fn mut_pairwise_cipher(&mut self) -> &mut i32
Return a mutable reference to pairwise_cipher
Sourcepub fn set_pairwise_cipher(&mut self, value: i32) -> &mut Self
pub fn set_pairwise_cipher(&mut self, value: i32) -> &mut Self
Set the value of pairwise_cipher
Sourcepub fn init_pairwise_cipher(self, value: i32) -> Self
pub fn init_pairwise_cipher(self, value: i32) -> Self
Builder method that sets the value of pairwise_cipher
. Useful for initializing the message.
Sourcepub fn group_cipher(&self) -> &i32
pub fn group_cipher(&self) -> &i32
Return a reference to group_cipher
Sourcepub fn mut_group_cipher(&mut self) -> &mut i32
pub fn mut_group_cipher(&mut self) -> &mut i32
Return a mutable reference to group_cipher
Sourcepub fn set_group_cipher(&mut self, value: i32) -> &mut Self
pub fn set_group_cipher(&mut self, value: i32) -> &mut Self
Set the value of group_cipher
Sourcepub fn init_group_cipher(self, value: i32) -> Self
pub fn init_group_cipher(self, value: i32) -> Self
Builder method that sets the value of group_cipher
. Useful for initializing the message.
Sourcepub fn init_ant(self, value: i32) -> Self
pub fn init_ant(self, value: i32) -> Self
Builder method that sets the value of ant
. Useful for initializing the message.
Sourcepub fn mut_bitmask(&mut self) -> &mut u32
pub fn mut_bitmask(&mut self) -> &mut u32
Return a mutable reference to bitmask
Sourcepub fn set_bitmask(&mut self, value: u32) -> &mut Self
pub fn set_bitmask(&mut self, value: u32) -> &mut Self
Set the value of bitmask
Sourcepub fn init_bitmask(self, value: u32) -> Self
pub fn init_bitmask(self, value: u32) -> Self
Builder method that sets the value of bitmask
. Useful for initializing the message.
Sourcepub fn country(&self) -> Option<&wifi_country>
pub fn country(&self) -> Option<&wifi_country>
Return a reference to country
as an Option
Sourcepub fn set_country(&mut self, value: wifi_country) -> &mut Self
pub fn set_country(&mut self, value: wifi_country) -> &mut Self
Set the value and presence of country
Sourcepub fn mut_country(&mut self) -> Option<&mut wifi_country>
pub fn mut_country(&mut self) -> Option<&mut wifi_country>
Return a mutable reference to country
as an Option
Sourcepub fn clear_country(&mut self) -> &mut Self
pub fn clear_country(&mut self) -> &mut Self
Clear the presence of country
Sourcepub fn take_country(&mut self) -> Option<wifi_country>
pub fn take_country(&mut self) -> Option<wifi_country>
Take the value of country
and clear its presence
Sourcepub fn init_country(self, value: wifi_country) -> Self
pub fn init_country(self, value: wifi_country) -> Self
Builder method that sets the value of country
. Useful for initializing the message.
Sourcepub fn he_ap(&self) -> Option<&wifi_he_ap_info>
pub fn he_ap(&self) -> Option<&wifi_he_ap_info>
Return a reference to he_ap
as an Option
Sourcepub fn set_he_ap(&mut self, value: wifi_he_ap_info) -> &mut Self
pub fn set_he_ap(&mut self, value: wifi_he_ap_info) -> &mut Self
Set the value and presence of he_ap
Sourcepub fn mut_he_ap(&mut self) -> Option<&mut wifi_he_ap_info>
pub fn mut_he_ap(&mut self) -> Option<&mut wifi_he_ap_info>
Return a mutable reference to he_ap
as an Option
Sourcepub fn clear_he_ap(&mut self) -> &mut Self
pub fn clear_he_ap(&mut self) -> &mut Self
Clear the presence of he_ap
Sourcepub fn take_he_ap(&mut self) -> Option<wifi_he_ap_info>
pub fn take_he_ap(&mut self) -> Option<wifi_he_ap_info>
Take the value of he_ap
and clear its presence
Sourcepub fn init_he_ap(self, value: wifi_he_ap_info) -> Self
pub fn init_he_ap(self, value: wifi_he_ap_info) -> Self
Builder method that sets the value of he_ap
. Useful for initializing the message.
Sourcepub fn mut_bandwidth(&mut self) -> &mut u32
pub fn mut_bandwidth(&mut self) -> &mut u32
Return a mutable reference to bandwidth
Sourcepub fn set_bandwidth(&mut self, value: u32) -> &mut Self
pub fn set_bandwidth(&mut self, value: u32) -> &mut Self
Set the value of bandwidth
Sourcepub fn init_bandwidth(self, value: u32) -> Self
pub fn init_bandwidth(self, value: u32) -> Self
Builder method that sets the value of bandwidth
. Useful for initializing the message.
Sourcepub fn vht_ch_freq1(&self) -> &u32
pub fn vht_ch_freq1(&self) -> &u32
Return a reference to vht_ch_freq1
Sourcepub fn mut_vht_ch_freq1(&mut self) -> &mut u32
pub fn mut_vht_ch_freq1(&mut self) -> &mut u32
Return a mutable reference to vht_ch_freq1
Sourcepub fn set_vht_ch_freq1(&mut self, value: u32) -> &mut Self
pub fn set_vht_ch_freq1(&mut self, value: u32) -> &mut Self
Set the value of vht_ch_freq1
Sourcepub fn init_vht_ch_freq1(self, value: u32) -> Self
pub fn init_vht_ch_freq1(self, value: u32) -> Self
Builder method that sets the value of vht_ch_freq1
. Useful for initializing the message.
Sourcepub fn vht_ch_freq2(&self) -> &u32
pub fn vht_ch_freq2(&self) -> &u32
Return a reference to vht_ch_freq2
Sourcepub fn mut_vht_ch_freq2(&mut self) -> &mut u32
pub fn mut_vht_ch_freq2(&mut self) -> &mut u32
Return a mutable reference to vht_ch_freq2
Sourcepub fn set_vht_ch_freq2(&mut self, value: u32) -> &mut Self
pub fn set_vht_ch_freq2(&mut self, value: u32) -> &mut Self
Set the value of vht_ch_freq2
Sourcepub fn init_vht_ch_freq2(self, value: u32) -> Self
pub fn init_vht_ch_freq2(self, value: u32) -> Self
Builder method that sets the value of vht_ch_freq2
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_ap_record
impl Clone for wifi_ap_record
Source§fn clone(&self) -> wifi_ap_record
fn clone(&self) -> wifi_ap_record
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_ap_record
impl Debug for wifi_ap_record
Source§impl Default for wifi_ap_record
impl Default for wifi_ap_record
Source§fn default() -> wifi_ap_record
fn default() -> wifi_ap_record
Source§impl MessageDecode for wifi_ap_record
impl MessageDecode for wifi_ap_record
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