commands: strip lifetimes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user