pub struct wifi_event_ftm_report {
pub peer_mac: Vec<u8, 6>,
pub status: i32,
pub rtt_raw: u32,
pub rtt_est: u32,
pub dist_est: u32,
pub ftm_report_data: Vec<wifi_ftm_report_entry, 8>,
pub ftm_report_num_entries: u32,
}
Fields§
§peer_mac: Vec<u8, 6>
§status: i32
§rtt_raw: u32
§rtt_est: u32
§dist_est: u32
§ftm_report_data: Vec<wifi_ftm_report_entry, 8>
§ftm_report_num_entries: u32
Implementations§
Source§impl wifi_event_ftm_report
impl wifi_event_ftm_report
Sourcepub fn mut_peer_mac(&mut self) -> &mut Vec<u8, 6>
pub fn mut_peer_mac(&mut self) -> &mut Vec<u8, 6>
Return a mutable reference to peer_mac
Sourcepub fn set_peer_mac(&mut self, value: Vec<u8, 6>) -> &mut Self
pub fn set_peer_mac(&mut self, value: Vec<u8, 6>) -> &mut Self
Set the value of peer_mac
Sourcepub fn init_peer_mac(self, value: Vec<u8, 6>) -> Self
pub fn init_peer_mac(self, value: Vec<u8, 6>) -> Self
Builder method that sets the value of peer_mac
. Useful for initializing the message.
Sourcepub fn mut_status(&mut self) -> &mut i32
pub fn mut_status(&mut self) -> &mut i32
Return a mutable reference to status
Sourcepub fn set_status(&mut self, value: i32) -> &mut Self
pub fn set_status(&mut self, value: i32) -> &mut Self
Set the value of status
Sourcepub fn init_status(self, value: i32) -> Self
pub fn init_status(self, value: i32) -> Self
Builder method that sets the value of status
. Useful for initializing the message.
Sourcepub fn mut_rtt_raw(&mut self) -> &mut u32
pub fn mut_rtt_raw(&mut self) -> &mut u32
Return a mutable reference to rtt_raw
Sourcepub fn set_rtt_raw(&mut self, value: u32) -> &mut Self
pub fn set_rtt_raw(&mut self, value: u32) -> &mut Self
Set the value of rtt_raw
Sourcepub fn init_rtt_raw(self, value: u32) -> Self
pub fn init_rtt_raw(self, value: u32) -> Self
Builder method that sets the value of rtt_raw
. Useful for initializing the message.
Sourcepub fn mut_rtt_est(&mut self) -> &mut u32
pub fn mut_rtt_est(&mut self) -> &mut u32
Return a mutable reference to rtt_est
Sourcepub fn set_rtt_est(&mut self, value: u32) -> &mut Self
pub fn set_rtt_est(&mut self, value: u32) -> &mut Self
Set the value of rtt_est
Sourcepub fn init_rtt_est(self, value: u32) -> Self
pub fn init_rtt_est(self, value: u32) -> Self
Builder method that sets the value of rtt_est
. Useful for initializing the message.
Sourcepub fn mut_dist_est(&mut self) -> &mut u32
pub fn mut_dist_est(&mut self) -> &mut u32
Return a mutable reference to dist_est
Sourcepub fn set_dist_est(&mut self, value: u32) -> &mut Self
pub fn set_dist_est(&mut self, value: u32) -> &mut Self
Set the value of dist_est
Sourcepub fn init_dist_est(self, value: u32) -> Self
pub fn init_dist_est(self, value: u32) -> Self
Builder method that sets the value of dist_est
. Useful for initializing the message.
Sourcepub fn ftm_report_num_entries(&self) -> &u32
pub fn ftm_report_num_entries(&self) -> &u32
Return a reference to ftm_report_num_entries
Sourcepub fn mut_ftm_report_num_entries(&mut self) -> &mut u32
pub fn mut_ftm_report_num_entries(&mut self) -> &mut u32
Return a mutable reference to ftm_report_num_entries
Sourcepub fn set_ftm_report_num_entries(&mut self, value: u32) -> &mut Self
pub fn set_ftm_report_num_entries(&mut self, value: u32) -> &mut Self
Set the value of ftm_report_num_entries
Sourcepub fn init_ftm_report_num_entries(self, value: u32) -> Self
pub fn init_ftm_report_num_entries(self, value: u32) -> Self
Builder method that sets the value of ftm_report_num_entries
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_event_ftm_report
impl Clone for wifi_event_ftm_report
Source§fn clone(&self) -> wifi_event_ftm_report
fn clone(&self) -> wifi_event_ftm_report
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_event_ftm_report
impl Debug for wifi_event_ftm_report
Source§impl Default for wifi_event_ftm_report
impl Default for wifi_event_ftm_report
Source§fn default() -> wifi_event_ftm_report
fn default() -> wifi_event_ftm_report
Source§impl MessageDecode for wifi_event_ftm_report
impl MessageDecode for wifi_event_ftm_report
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