pub struct AltBeacon {
pub company_id: u16,
pub beacon_id: [u8; 20],
pub reference_rssi: i8,
pub reserved: u8,
}Expand description
An AltBeacon frame.
Fields§
§company_id: u16The advertiser’s company identifier.
beacon_id: [u8; 20]Beacon id: by convention a 16-byte organisational unit then 4 bytes.
reference_rssi: i8Average RSSI at one metre, dBm.
reserved: u8Reserved for the manufacturer.
Trait Implementations§
impl Copy for AltBeacon
impl Eq for AltBeacon
impl StructuralPartialEq for AltBeacon
Auto Trait Implementations§
impl Freeze for AltBeacon
impl RefUnwindSafe for AltBeacon
impl Send for AltBeacon
impl Sync for AltBeacon
impl Unpin for AltBeacon
impl UnsafeUnpin for AltBeacon
impl UnwindSafe for AltBeacon
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