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
Currently, most request structs use owned types for the request. However, they only need to serialize the request, thus they only need immutable references to the data.
This is definitely something I want solved, the hard part is how to do it and allow owning the data. (Cow comes to mind, which we've managed to implement fairly well in twitchchat, but not to a level I feel works well.)
Currently, most request structs use owned types for the request. However, they only need to serialize the request, thus they only need immutable references to the data.
Take the
GetUsersRequest
as an example:twitch_api/src/helix/endpoints/users/get_users.rs
Lines 48 to 55 in 607b9ae
The
id
andlogin
should really be&[&types::User{Id,Name}Ref]
.The text was updated successfully, but these errors were encountered: