Code formatting
This commit is contained in:
@@ -13,7 +13,7 @@ mod response {
|
|||||||
#[derive(Debug, serde::Deserialize)]
|
#[derive(Debug, serde::Deserialize)]
|
||||||
pub struct Response {
|
pub struct Response {
|
||||||
pub message: String,
|
pub message: String,
|
||||||
pub data: Vec<icarus_models::song::Song>
|
pub data: Vec<icarus_models::song::Song>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -44,7 +44,7 @@ impl RetrieveRecords {
|
|||||||
Ok(parsed) => {
|
Ok(parsed) => {
|
||||||
println!("Response message: {:?}", parsed.message);
|
println!("Response message: {:?}", parsed.message);
|
||||||
Ok(parsed.data)
|
Ok(parsed.data)
|
||||||
}
|
}
|
||||||
Err(err) => Err(std::io::Error::other(err.to_string())),
|
Err(err) => Err(std::io::Error::other(err.to_string())),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user