pub struct LeAdvertisingChannelTxPower {
pub status: Status,
pub power: i8,
}
Expand description
Values returned by the LE Read Advertising Channel TX Power command.
Fields§
§status: Status
Did the command fail, and if so, how?
power: i8
The transmit power of the advertising channel.
- Range: -20 ≤ N ≤ 10 (this is not enforced in this implementation)
- Units: dBm
- Accuracy: ±4 dB
Trait Implementations§
Source§impl Clone for LeAdvertisingChannelTxPower
impl Clone for LeAdvertisingChannelTxPower
Source§fn clone(&self) -> LeAdvertisingChannelTxPower
fn clone(&self) -> LeAdvertisingChannelTxPower
Returns a duplicate 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 LeAdvertisingChannelTxPower
impl Debug for LeAdvertisingChannelTxPower
impl Copy for LeAdvertisingChannelTxPower
Auto Trait Implementations§
impl Freeze for LeAdvertisingChannelTxPower
impl RefUnwindSafe for LeAdvertisingChannelTxPower
impl Send for LeAdvertisingChannelTxPower
impl Sync for LeAdvertisingChannelTxPower
impl Unpin for LeAdvertisingChannelTxPower
impl UnwindSafe for LeAdvertisingChannelTxPower
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