#[repr(C)]pub struct smartconfig_event_got_ssid_pswd_t {
pub ssid: [u8; 32],
pub password: [u8; 64],
pub bssid_set: bool,
pub bssid: [u8; 6],
pub type_: u32,
pub token: u8,
pub cellphone_ip: [u8; 4],
}
Expand description
Argument structure for SC_EVENT_GOT_SSID_PSWD event
Fields§
§ssid: [u8; 32]
< SSID of the AP. Null terminated string.
password: [u8; 64]
< Password of the AP. Null terminated string.
bssid_set: bool
< whether set MAC address of target AP or not.
bssid: [u8; 6]
< MAC address of target AP.
type_: u32
< Type of smartconfig(ESPTouch or AirKiss).
token: u8
< Token from cellphone which is used to send ACK to cellphone.
cellphone_ip: [u8; 4]
< IP address of cellphone.
Trait Implementations§
source§impl Clone for smartconfig_event_got_ssid_pswd_t
impl Clone for smartconfig_event_got_ssid_pswd_t
source§fn clone(&self) -> smartconfig_event_got_ssid_pswd_t
fn clone(&self) -> smartconfig_event_got_ssid_pswd_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for smartconfig_event_got_ssid_pswd_t
impl Debug for smartconfig_event_got_ssid_pswd_t
source§impl Default for smartconfig_event_got_ssid_pswd_t
impl Default for smartconfig_event_got_ssid_pswd_t
source§fn default() -> smartconfig_event_got_ssid_pswd_t
fn default() -> smartconfig_event_got_ssid_pswd_t
Returns the “default value” for a type. Read more
impl Copy for smartconfig_event_got_ssid_pswd_t
Auto Trait Implementations§
impl Freeze for smartconfig_event_got_ssid_pswd_t
impl RefUnwindSafe for smartconfig_event_got_ssid_pswd_t
impl Send for smartconfig_event_got_ssid_pswd_t
impl Sync for smartconfig_event_got_ssid_pswd_t
impl Unpin for smartconfig_event_got_ssid_pswd_t
impl UnwindSafe for smartconfig_event_got_ssid_pswd_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)