pub struct DeviceDashboardUpdate {
pub refresh_rate: Option<u32>,
pub widgets: Option<Value>,
}Expand description
Request body for PUT /api/hardware/devices/:id/dashboard. Any field may be
omitted; only the present ones are applied. widgets (when present) replaces
the bound dashboard’s widget set (the device-scoped analog of the desktop grid).
Fields§
§refresh_rate: Option<u32>§widgets: Option<Value>Trait Implementations§
Source§impl Debug for DeviceDashboardUpdate
impl Debug for DeviceDashboardUpdate
Source§impl<'de> Deserialize<'de> for DeviceDashboardUpdate
impl<'de> Deserialize<'de> for DeviceDashboardUpdate
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 DeviceDashboardUpdate
impl RefUnwindSafe for DeviceDashboardUpdate
impl Send for DeviceDashboardUpdate
impl Sync for DeviceDashboardUpdate
impl Unpin for DeviceDashboardUpdate
impl UnsafeUnpin for DeviceDashboardUpdate
impl UnwindSafe for DeviceDashboardUpdate
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