Module registry

Module registry 

Source
Expand description

Formatter registry for type-safe payload formatting

This module contains the registry pattern for payload formatters. Each formatter declares its supported PayloadKinds for fast matching, with fallback payload inspection for legacy compatibility.

Structs§

AlbumDetailFormatter
ArtistDetailFormatter
ArtistTopTracksFormatter
AudiobookChaptersFormatter
AudiobookDetailFormatter
CategoryDetailFormatter
CategoryListFormatter
ChapterDetailFormatter
CombinedSearchFormatter
DevicesFormatter
EpisodeDetailFormatter
FormatterRegistry
Registry holding all formatters in priority order
LibraryCheckFormatter
MarketsFormatter
PinsFormatter
PlayHistoryFormatter
PlayerStatusFormatter
PlaylistDetailFormatter
PlaylistsFormatter
QueueFormatter
SavedAlbumsFormatter
SavedAudiobooksFormatter
SavedEpisodesFormatter
SavedShowsFormatter
SavedTracksFormatter
ShowDetailFormatter
ShowEpisodesFormatter
SpotifySearchFormatter
TopArtistsFormatter
TopTracksFormatter
TrackDetailFormatter
UserProfileFormatter

Statics§

REGISTRY

Traits§

PayloadFormatter
Trait for payload formatters

Functions§

format_payload
Format a payload using the global registry (legacy, uses payload inspection)
format_payload_with_kind
Format a payload with optional type hint for reliable matching.