Struct wlancfg_lib::util::listener::ApStateUpdate
source · pub struct ApStateUpdate {
pub id: NetworkIdentifier,
pub state: OperatingState,
pub mode: Option<ConnectivityMode>,
pub band: Option<OperatingBand>,
pub frequency: Option<u32>,
pub clients: Option<ConnectedClientInformation>,
}
Fields§
§id: NetworkIdentifier
§state: OperatingState
§mode: Option<ConnectivityMode>
§band: Option<OperatingBand>
§frequency: Option<u32>
§clients: Option<ConnectedClientInformation>
Implementations§
source§impl ApStateUpdate
impl ApStateUpdate
pub fn new( id: NetworkIdentifier, state: OperatingState, mode: ConnectivityMode, band: OperatingBand ) -> Self
Trait Implementations§
source§impl Clone for ApStateUpdate
impl Clone for ApStateUpdate
source§fn clone(&self) -> ApStateUpdate
fn clone(&self) -> ApStateUpdate
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 PartialEq for ApStateUpdate
impl PartialEq for ApStateUpdate
source§fn eq(&self, other: &ApStateUpdate) -> bool
fn eq(&self, other: &ApStateUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApStateUpdate
Auto Trait Implementations§
impl Freeze for ApStateUpdate
impl RefUnwindSafe for ApStateUpdate
impl Send for ApStateUpdate
impl Sync for ApStateUpdate
impl Unpin for ApStateUpdate
impl UnwindSafe for ApStateUpdate
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