pub struct DeviceBase {
pub device_id: String,
pub device_name: String,
pub device_type: String,
pub status: String,
pub create_time: Timestamp,
pub update_time: Timestamp,
}Expand description
设备基础信息
Fields§
§device_id: String设备ID
device_name: String设备名称
device_type: String设备类型
status: String设备状态
create_time: Timestamp创建时间
update_time: Timestamp更新时间
Trait Implementations§
Source§impl Clone for DeviceBase
impl Clone for DeviceBase
Source§fn clone(&self) -> DeviceBase
fn clone(&self) -> DeviceBase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceBase
impl Debug for DeviceBase
Source§impl<'de> Deserialize<'de> for DeviceBase
impl<'de> Deserialize<'de> for DeviceBase
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 Freeze for DeviceBase
impl RefUnwindSafe for DeviceBase
impl Send for DeviceBase
impl Sync for DeviceBase
impl Unpin for DeviceBase
impl UnsafeUnpin for DeviceBase
impl UnwindSafe for DeviceBase
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