Reformat code
This commit is contained in:
parent
271b24b70d
commit
a17a9868fa
8 changed files with 40 additions and 33 deletions
src/types
|
@ -2,7 +2,6 @@ use std::convert::TryFrom;
|
|||
use std::fmt::{Debug, Formatter};
|
||||
use std::str::FromStr;
|
||||
|
||||
use crate::types::EmgauwaUid;
|
||||
use serde::{Serialize, Serializer};
|
||||
use sqlx::database::HasArguments;
|
||||
use sqlx::encode::IsNull;
|
||||
|
@ -11,6 +10,8 @@ use sqlx::sqlite::{SqliteTypeInfo, SqliteValueRef};
|
|||
use sqlx::{Decode, Encode, Sqlite, Type};
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::types::EmgauwaUid;
|
||||
|
||||
impl EmgauwaUid {
|
||||
const OFF_STR: &'static str = "off";
|
||||
const ON_STR: &'static str = "on";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue