pub struct StoreDeviceReq {
pub serial_number: String,
pub name: String,
pub asset_type_id: i32,
}
Expand description
Store Device Request Scheme.
Fields§
§serial_number: String
Serial number.
name: String
Optional name for the device (default = serial number).
asset_type_id: i32
Device’s type on the Hub.
Trait Implementations§
Source§impl Debug for StoreDeviceReq
impl Debug for StoreDeviceReq
Auto Trait Implementations§
impl Freeze for StoreDeviceReq
impl RefUnwindSafe for StoreDeviceReq
impl Send for StoreDeviceReq
impl Sync for StoreDeviceReq
impl Unpin for StoreDeviceReq
impl UnwindSafe for StoreDeviceReq
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