sqlx_firebird/type_info.rs
1//
2// Copyright © 2023, RedSoft
3// License: MIT
4//
5
6use std::fmt::{self, Display, Formatter};
7
8use sqlx_core::type_info::TypeInfo;
9
10#[derive(Debug, Clone, PartialEq)]
11pub struct FbTypeInfo;
12
13impl TypeInfo for FbTypeInfo {
14 fn is_null(&self) -> bool {
15 todo!()
16 }
17
18 fn name(&self) -> &str {
19 todo!()
20 }
21}
22
23impl Display for FbTypeInfo {
24 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
25 f.pad(self.name())
26 }
27}