pub struct Beacon {
pub data_rate: u8,
pub frequency_hz: u32,
pub ping_slot_frequency_hz: u32,
}Expand description
The Class B beacon settings a region broadcasts on.
Fields§
§data_rate: u8The data rate the beacon is sent at.
frequency_hz: u32The frequency the beacon is broadcast on, in hertz.
ping_slot_frequency_hz: u32The default ping-slot frequency, in hertz.
Trait Implementations§
impl Copy for Beacon
impl Eq for Beacon
impl StructuralPartialEq for Beacon
Auto Trait Implementations§
impl Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnsafeUnpin for Beacon
impl UnwindSafe for Beacon
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