pub struct DeviceReadRequest {
pub device_instance: u32,
pub object_identifier: ObjectIdentifier,
pub property_identifier: PropertyIdentifier,
pub property_array_index: Option<u32>,
}Expand description
A request to read a single property from a discovered device.
Fields§
§device_instance: u32Device instance number (must be in the device table).
object_identifier: ObjectIdentifierObject to read from.
property_identifier: PropertyIdentifierProperty to read.
property_array_index: Option<u32>Optional array index.
Trait Implementations§
Source§impl Clone for DeviceReadRequest
impl Clone for DeviceReadRequest
Source§fn clone(&self) -> DeviceReadRequest
fn clone(&self) -> DeviceReadRequest
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 moreAuto Trait Implementations§
impl Freeze for DeviceReadRequest
impl RefUnwindSafe for DeviceReadRequest
impl Send for DeviceReadRequest
impl Sync for DeviceReadRequest
impl Unpin for DeviceReadRequest
impl UnsafeUnpin for DeviceReadRequest
impl UnwindSafe for DeviceReadRequest
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