pub struct ScanResult {
pub mac: String,
pub frequency: String,
pub signal: isize,
pub flags: String,
pub name: String,
}
Expand description
The result from scanning for networks.
Fields§
§mac: String
§frequency: String
§signal: isize
§flags: String
§name: String
Implementations§
Source§impl ScanResult
impl ScanResult
pub fn vec_from_str(response: &str) -> Result<Vec<ScanResult>>
Trait Implementations§
Source§impl Clone for ScanResult
impl Clone for ScanResult
Source§fn clone(&self) -> ScanResult
fn clone(&self) -> ScanResult
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 ScanResult
impl Debug for ScanResult
Auto Trait Implementations§
impl Freeze for ScanResult
impl RefUnwindSafe for ScanResult
impl Send for ScanResult
impl Sync for ScanResult
impl Unpin for ScanResult
impl UnwindSafe for ScanResult
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