You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most manual deserializers can be removed by not inserting a guild_id into types (which there's already internal support for, see, for example, Member vs MemberIntermediary), but otherwise it's impossible without additional derive APIs from serde.
Simplify the (de)serialization of
`gateway::presence::activity_button::ActivityButtonText`. We can remove
the custom Deserialize and Serialize implementations by taking advantage
of the fact that it has only one field, and instead using
`#[serde(transparent)]`.
Part of #1364.
Simplify the (de)serialization of
`gateway::presence::activity_button::ActivityButtonText`. We can remove
the custom Deserialize and Serialize implementations by taking advantage
of the fact that it has only one field, and instead using
`#[serde(transparent)]`.
Part of #1364.
There are probably some types that we manually implement
serde::Deserialize
andserde::Serialize
on that we can defer to proc macro derives.PermissionOverwrite
refactor(http,model)!: refactor permission overwrites #1521model::channel::Reaction
model::gateway::presence::activity_button::ActivityButtonText
refactor(model): simplify activity button text (de)serialization #2087model::util::datetime::Timestamp
?model::application::command::permissions::CommandPermissions
model::guild::Guild
The text was updated successfully, but these errors were encountered: