pub struct WpaNetworkFlags {
pub current: bool,
pub disabled: bool,
pub p2p_persistent: bool,
}
Expand description
Network’s flag, describing its current state.
Fields§
§current: bool
Indicates that network is currently set to be used.
disabled: bool
Indicates that network is disabled.
p2p_persistent: bool
Network is part of p2p persistent group. Google what it means.
Implementations§
Trait Implementations§
Source§impl Clone for WpaNetworkFlags
impl Clone for WpaNetworkFlags
Source§fn clone(&self) -> WpaNetworkFlags
fn clone(&self) -> WpaNetworkFlags
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 WpaNetworkFlags
impl Debug for WpaNetworkFlags
Source§impl Default for WpaNetworkFlags
impl Default for WpaNetworkFlags
Source§fn default() -> WpaNetworkFlags
fn default() -> WpaNetworkFlags
Returns the “default value” for a type. Read more
impl Copy for WpaNetworkFlags
Auto Trait Implementations§
impl Freeze for WpaNetworkFlags
impl RefUnwindSafe for WpaNetworkFlags
impl Send for WpaNetworkFlags
impl Sync for WpaNetworkFlags
impl Unpin for WpaNetworkFlags
impl UnwindSafe for WpaNetworkFlags
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