commands: strip lifetimes

This commit is contained in:
2025-12-08 12:30:19 +09:00
parent 78cfc09d60
commit 8430592bee
133 changed files with 269 additions and 271 deletions

View File

@@ -15,7 +15,7 @@ pub struct PlChangesRequest {
pub window: Option<WindowRange>,
}
impl CommandRequest<'_> for PlChangesRequest {
impl CommandRequest for PlChangesRequest {
const COMMAND: &'static str = "plchanges";
fn into_request_enum(self) -> crate::Request {
@@ -69,7 +69,7 @@ pub struct PlChangesResponseEntry {
pub song_info: DbSongInfo,
}
impl CommandResponse<'_> for PlChangesResponse {
impl CommandResponse for PlChangesResponse {
fn from_response_enum(response: crate::Response) -> Option<Self> {
todo!()
}
@@ -83,7 +83,7 @@ impl CommandResponse<'_> for PlChangesResponse {
}
}
impl Command<'_, '_> for PlChanges {
impl Command for PlChanges {
type Request = PlChangesRequest;
type Response = PlChangesResponse;
}