pub struct ClientConfiguration {
pub ssid: String<32>,
pub bssid: Option<[u8; 6]>,
pub auth_method: AuthMethod,
pub password: String<64>,
pub channel: Option<u8>,
}
Expand description
Client configuration for a Wi-Fi connection.
Fields§
§ssid: String<32>
The SSID of the Wi-Fi network.
bssid: Option<[u8; 6]>
The BSSID (MAC address) of the client.
auth_method: AuthMethod
The authentication method for the Wi-Fi connection.
password: String<64>
The password for the Wi-Fi connection.
channel: Option<u8>
The Wi-Fi channel to connect to.
Trait Implementations§
Source§impl Clone for ClientConfiguration
impl Clone for ClientConfiguration
Source§fn clone(&self) -> ClientConfiguration
fn clone(&self) -> ClientConfiguration
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 ClientConfiguration
impl Debug for ClientConfiguration
Source§impl Default for ClientConfiguration
impl Default for ClientConfiguration
Source§impl PartialEq for ClientConfiguration
impl PartialEq for ClientConfiguration
impl Eq for ClientConfiguration
impl StructuralPartialEq for ClientConfiguration
Auto Trait Implementations§
impl Freeze for ClientConfiguration
impl RefUnwindSafe for ClientConfiguration
impl Send for ClientConfiguration
impl Sync for ClientConfiguration
impl Unpin for ClientConfiguration
impl UnwindSafe for ClientConfiguration
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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)