Struct mavlink::development::WIFI_NETWORK_INFO_DATA
source · pub struct WIFI_NETWORK_INFO_DATA {
pub data_rate: u16,
pub ssid: [u8; 32],
pub channel_id: u8,
pub signal_quality: u8,
pub security: WifiNetworkSecurity,
}
Available on crate feature
development
only.Expand description
id: 298 Detected WiFi network status information. This message is sent per each WiFi network detected in range with known SSID and general status parameters..
Fields§
§data_rate: u16
WiFi network data rate. Set to UINT16_MAX if data_rate information is not supplied..
ssid: [u8; 32]
Name of Wi-Fi network (SSID)..
channel_id: u8
WiFi network operating channel ID. Set to 0 if unknown or unidentified..
signal_quality: u8
WiFi network signal quality..
security: WifiNetworkSecurity
WiFi network security type..
Implementations§
source§impl WIFI_NETWORK_INFO_DATA
impl WIFI_NETWORK_INFO_DATA
pub const ENCODED_LEN: usize = 37usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for WIFI_NETWORK_INFO_DATA
impl Clone for WIFI_NETWORK_INFO_DATA
source§fn clone(&self) -> WIFI_NETWORK_INFO_DATA
fn clone(&self) -> WIFI_NETWORK_INFO_DATA
Returns a copy 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 WIFI_NETWORK_INFO_DATA
impl Debug for WIFI_NETWORK_INFO_DATA
source§impl Default for WIFI_NETWORK_INFO_DATA
impl Default for WIFI_NETWORK_INFO_DATA
source§impl<'de> Deserialize<'de> for WIFI_NETWORK_INFO_DATA
impl<'de> Deserialize<'de> for WIFI_NETWORK_INFO_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for WIFI_NETWORK_INFO_DATA
impl MessageData for WIFI_NETWORK_INFO_DATA
const ID: u32 = 298u32
const NAME: &'static str = "WIFI_NETWORK_INFO"
const EXTRA_CRC: u8 = 237u8
const ENCODED_LEN: usize = 37usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for WIFI_NETWORK_INFO_DATA
impl PartialEq for WIFI_NETWORK_INFO_DATA
source§impl Serialize for WIFI_NETWORK_INFO_DATA
impl Serialize for WIFI_NETWORK_INFO_DATA
impl StructuralPartialEq for WIFI_NETWORK_INFO_DATA
Auto Trait Implementations§
impl Freeze for WIFI_NETWORK_INFO_DATA
impl RefUnwindSafe for WIFI_NETWORK_INFO_DATA
impl Send for WIFI_NETWORK_INFO_DATA
impl Sync for WIFI_NETWORK_INFO_DATA
impl Unpin for WIFI_NETWORK_INFO_DATA
impl UnwindSafe for WIFI_NETWORK_INFO_DATA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)