[−][src]Struct tinkerforge::ip_connection::EnumerateResponse
Devices send EnumerateResponse
s when they are connected, disconnected or when an enumeration was
triggered by the user using the Enumerate
method.
Fields
uid: String
The UID of the device.
connected_uid: String
UID where the device is connected to. For a Bricklet this will be a UID of the Brick where it is connected to. For a Brick it will be the UID of the bottom Master Brick in the stack. For the bottom Master Brick in a stack this will be "0". With this information it is possible to reconstruct the complete network topology.
position: char
For Bricks: '0' - '8' (position in stack). For Bricklets: 'a' - 'd' (position on Brick).
hardware_version: [u8; 3]
Major, minor and release number for hardware version.
firmware_version: [u8; 3]
Major, minor and release number for firmware version.
device_identifier: u16
A number that represents the device. The device identifier numbers can be found here. There are also constants for these numbers named following this pattern:
For example: MasterBrick.DEVICE_IDENTIFIER or AmbientLightBricklet.DEVICE_IDENTIFIER.
enumeration_type: EnumerationType
Type of enumeration. See EnumerationType
Trait Implementations
impl FromByteSlice for EnumerateResponse
[src]
fn from_le_byte_slice(bytes: &[u8]) -> EnumerateResponse
[src]
fn bytes_expected() -> usize
[src]
impl Clone for EnumerateResponse
[src]
fn clone(&self) -> EnumerateResponse
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EnumerateResponse
[src]
Auto Trait Implementations
impl Send for EnumerateResponse
impl Sync for EnumerateResponse
impl Unpin for EnumerateResponse
impl UnwindSafe for EnumerateResponse
impl RefUnwindSafe for EnumerateResponse
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self