pub struct DeviceRef {
pub device_name: String,
pub endpoint_name: String,
}
Expand description
A reference to the Device and Endpoint within the device (connection information) used by brokers to connect that provides data points for this asset.
Fields§
§device_name: String
Name of the device resource.
endpoint_name: String
The name of endpoint to use.
Trait Implementations§
impl Eq for DeviceRef
impl StructuralPartialEq for DeviceRef
Auto Trait Implementations§
impl Freeze for DeviceRef
impl RefUnwindSafe for DeviceRef
impl Send for DeviceRef
impl Sync for DeviceRef
impl Unpin for DeviceRef
impl UnwindSafe for DeviceRef
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