pub struct Join {
pub service: String,
pub ssid: String,
pub auth: Auth,
pub hidden: bool,
pub enabled: Option<bool>,
pub guest: bool,
pub passphrase: Option<SecretString>,
}Expand description
What a device needs to join a wireless network.
Fields§
§service: StringThe service, like WLANConfiguration3.
ssid: StringThe SSID verbatim, for the code: redact it with
redact::value before it is shown.
auth: AuthWhether the SSID is not advertised.
enabled: Option<bool>Whether the network is on, if the device tells.
guest: boolWhether the device reports it as its guest network.
passphrase: Option<SecretString>The passphrase, for Auth::Wpa.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Join
impl Freeze for Join
impl Move for Join
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnsafeUnpin for Join
impl UnwindSafe for Join
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