mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1037] [MERGED] Implement DerefMut for wrapper types in metadata #1204
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1037
Author: @dnlmlr
Created: 8/2/2022
Status: ✅ Merged
Merged: 8/2/2022
Merged by: @roderickvd
Base:
dev← Head:metadata-wrappers-deref-mut📝 Commits (2)
a7fa0e2ImplementDerefMutfor wrapper types in metadata0c69126Renamefrom_repeated_*functions toimpl_*📊 Changes
19 files changed (+164 additions, -271 deletions)
View changed files
📝
metadata/src/album.rs(+16 -18)📝
metadata/src/artist.rs(+15 -50)📝
metadata/src/audio/file.rs(+8 -7)📝
metadata/src/availability.rs(+4 -9)📝
metadata/src/content_rating.rs(+7 -9)📝
metadata/src/copyright.rs(+7 -9)📝
metadata/src/episode.rs(+4 -9)📝
metadata/src/external_id.rs(+7 -9)📝
metadata/src/image.rs(+8 -23)📝
metadata/src/playlist/attribute.rs(+10 -22)📝
metadata/src/playlist/item.rs(+6 -16)📝
metadata/src/playlist/list.rs(+7 -22)📝
metadata/src/playlist/operation.rs(+4 -9)📝
metadata/src/playlist/permission.rs(+7 -9)📝
metadata/src/restriction.rs(+10 -16)📝
metadata/src/sale_period.rs(+7 -9)📝
metadata/src/track.rs(+4 -9)📝
metadata/src/util.rs(+26 -7)📝
metadata/src/video.rs(+7 -9)📄 Description
Derefimplementations for metadata wrapper types to use anew
impl_deref_wrappedmacroDerefandDerefMut🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.