Sqlx , prost timestamp
The Rust Programming Language Forum
Sqlx , prost timestamp
I have some models that are in protobuf. for example user. fields like created_at which are time need to be converted to time stamp. but I get error in retriving data. = help: the trait sqlx::Type<_> is not implemented for prost_types::Timestamp = help: the following other types implement trait sqlx::Type<DB>: &T implements sqlx::Type<DB> Box<[u8]> implements sqlx::Type<MySql> Box<str> implements sqlx::Type<MySql> Cow<'_, str> implements sqlx::Type<MySql> DateTime<Utc> implements sqlx::Ty...
0 comments
No comments yet.