Fmt: Added cargofmt config and reformatted files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-20 23:27:48 +01:00
parent 78bb80d510
commit 73a2b077ed
28 changed files with 141 additions and 204 deletions

View File

@@ -1,13 +1,11 @@
use async_trait::async_trait;
use serde::Serialize;
use crate::{
errors::{DeviceError, ErrorCode},
request::execute::CommandType,
response,
traits::{FanSpeed, OnOff, Scene, Trait},
types::Type,
};
use crate::errors::{DeviceError, ErrorCode};
use crate::request::execute::CommandType;
use crate::response;
use crate::traits::{FanSpeed, OnOff, Scene, Trait};
use crate::types::Type;
// TODO: Find a more elegant way to do this
pub trait AsGoogleHomeDevice {