pub struct ScanFilter {
pub services: Vec<Uuid>,
}
Expand description
The filter used when scanning for BLE devices.
Fields§
§services: Vec<Uuid>
If the filter contains at least one service UUID, only devices supporting at least one of the given services will be available.
Trait Implementations§
Source§impl Clone for ScanFilter
impl Clone for ScanFilter
Source§fn clone(&self) -> ScanFilter
fn clone(&self) -> ScanFilter
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 ScanFilter
impl Debug for ScanFilter
Source§impl Default for ScanFilter
impl Default for ScanFilter
Source§fn default() -> ScanFilter
fn default() -> ScanFilter
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScanFilter
impl PartialEq for ScanFilter
impl Eq for ScanFilter
impl StructuralPartialEq for ScanFilter
Auto Trait Implementations§
impl Freeze for ScanFilter
impl RefUnwindSafe for ScanFilter
impl Send for ScanFilter
impl Sync for ScanFilter
impl Unpin for ScanFilter
impl UnwindSafe for ScanFilter
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