Implement FromStr
for Snowflake-related types
#1755
Labels
feature-request
A new requested functionality.
FromStr
for Snowflake-related types
#1755
As of v0.10.10 it seems all the Snowflake types (
GuildId
,ChannelId
, etc.) are missing an implementation of theFromStr
type. The BSON format, for instance, does not support unsigned 64 bit integers, which means the only alternative is to serialize and deserialize them as strings. However, this can't be done trivially viaserde_with::DisplayFromStr
because the aforementioned types do not implement theFromStr
trait, needed for deserialization.The text was updated successfully, but these errors were encountered: