pub async fn update_device(
__arg0: State<HardwareCtx>,
__arg1: Path<String>,
__arg2: Json<DeviceUpdate>,
) -> (StatusCode, Json<Value>)Expand description
PATCH /api/hardware/devices/:id — update a device’s name / prefs.
pub async fn update_device(
__arg0: State<HardwareCtx>,
__arg1: Path<String>,
__arg2: Json<DeviceUpdate>,
) -> (StatusCode, Json<Value>)PATCH /api/hardware/devices/:id — update a device’s name / prefs.