genius-rust 0.1.1

Rust library that allows interact with Genius API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::song::Song;

use serde::{Serialize, Deserialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct Hit {
    pub index: String,
    #[serde(rename = "type")]
    pub hit_type: String,
    pub result: Song,
}