Reformat code

This commit is contained in:
Tobias Reisinger 2023-11-21 14:58:01 +01:00
parent 271b24b70d
commit a17a9868fa
8 changed files with 40 additions and 33 deletions

View file

@ -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";