Struct fundamentum_sdk_api::models::devices::StoreDeviceReq
source · pub struct StoreDeviceReq {
pub serial_number: String,
pub name: String,
pub device_type_id: u32,
}
Expand description
Store Device Request Scheme
Fields§
§serial_number: String
Serial number
name: String
Optional name for the device (default = serial number)
device_type_id: u32
Device’s type on the Hub
Trait Implementations§
source§impl Debug for StoreDeviceReq
impl Debug for StoreDeviceReq
source§impl<'de> Deserialize<'de> for StoreDeviceReq
impl<'de> Deserialize<'de> for StoreDeviceReq
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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