[][src]Struct esp_idf_bindgen::wifi_country_t

#[repr(C)]pub struct wifi_country_t {
    pub cc: [c_char; 3],
    pub schan: u8,
    pub nchan: u8,
    pub max_tx_power: i8,
    pub policy: wifi_country_policy_t,
}

@brief Structure describing WiFi country-based regional restrictions.

Fields

cc: [c_char; 3]

< country code string

schan: u8

< start channel

nchan: u8

< total channel number

max_tx_power: i8

< This field is used for getting WiFi maximum transmitting power, call esp_wifi_set_max_tx_power to set the maximum transmitting power.

policy: wifi_country_policy_t

< country policy

Trait Implementations

impl Clone for wifi_country_t[src]

impl Copy for wifi_country_t[src]

impl Debug for wifi_country_t[src]

Auto Trait Implementations

impl Send for wifi_country_t

impl Sync for wifi_country_t

impl Unpin for wifi_country_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.