pub enum HubPropertyValue {
Show 15 variants
AdvertisingName(Vec<u8>),
Button(u8),
FwVersion(i32),
HwVersion(i32),
Rssi(i8),
BatteryVoltage(u8),
BatteryType(HubBatteryType),
ManufacturerName(Vec<u8>),
RadioFirmwareVersion(Vec<u8>),
LegoWirelessProtocolVersion(u16),
SystemTypeId(u8),
HwNetworkId(u8),
PrimaryMacAddress([u8; 6]),
SecondaryMacAddress,
HardwareNetworkFamily(u8),
}Variants§
AdvertisingName(Vec<u8>)
Button(u8)
FwVersion(i32)
HwVersion(i32)
Rssi(i8)
BatteryVoltage(u8)
BatteryType(HubBatteryType)
ManufacturerName(Vec<u8>)
RadioFirmwareVersion(Vec<u8>)
LegoWirelessProtocolVersion(u16)
SystemTypeId(u8)
HwNetworkId(u8)
PrimaryMacAddress([u8; 6])
SecondaryMacAddress
HardwareNetworkFamily(u8)
Implementations§
Trait Implementations§
Source§impl Clone for HubPropertyValue
impl Clone for HubPropertyValue
Source§fn clone(&self) -> HubPropertyValue
fn clone(&self) -> HubPropertyValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HubPropertyValue
impl Debug for HubPropertyValue
impl Eq for HubPropertyValue
Source§impl PartialEq for HubPropertyValue
impl PartialEq for HubPropertyValue
impl StructuralPartialEq for HubPropertyValue
Auto Trait Implementations§
impl Freeze for HubPropertyValue
impl RefUnwindSafe for HubPropertyValue
impl Send for HubPropertyValue
impl Sync for HubPropertyValue
impl Unpin for HubPropertyValue
impl UnsafeUnpin for HubPropertyValue
impl UnwindSafe for HubPropertyValue
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