error[E0277]: the trait bound `u32: StringType` is not satisfied
--> tests/ui/wrong_type.rs:6:12
|
6 | count: u32,
| ^^^ the trait `StringType` is not implemented for `u32`
|
= help: the following other types implement trait `StringType`:
&str
Box<T>
Cow<'_, str>
Option<T>
std::string::String
note: required by a bound in `__rydantic_assert_string`
--> tests/ui/wrong_type.rs:3:10
|
3 | #[derive(Model)]
| ^^^^^ required by this bound in `__rydantic_assert_string`
= note: this error originates in the derive macro `Model` (in Nightly builds, run with -Z macro-backtrace for more info)