pub struct BasicSongData {
pub title: String,
pub artist: String,
pub tab_link: String,
pub song_id: u32,
pub tab_id: u32,
pub data_type: DataSetType,
}
Expand description
Basic metadata every tab has
This struct is normally generated by crate::tab_scraper::get_basic_metadata
.
Fields§
§title: String
Title of the song
artist: String
Name of the artist
tab_link: String
Link to the tab
song_id: u32
UG ID of the song
Don’t confuse this with the tab ID, which is only for a single tab!
tab_id: u32
UG ID of the tab
Don’t confuse this with the song ID, which is for every tab of the song!
data_type: DataSetType
The type of tab
Trait Implementations§
Source§impl Clone for BasicSongData
impl Clone for BasicSongData
Source§fn clone(&self) -> BasicSongData
fn clone(&self) -> BasicSongData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BasicSongData
impl Debug for BasicSongData
Source§impl Default for BasicSongData
impl Default for BasicSongData
Source§fn default() -> BasicSongData
fn default() -> BasicSongData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicSongData
impl<'de> Deserialize<'de> for BasicSongData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BasicSongData
impl Display for BasicSongData
Source§impl PartialEq for BasicSongData
impl PartialEq for BasicSongData
Source§impl Serialize for BasicSongData
impl Serialize for BasicSongData
impl StructuralPartialEq for BasicSongData
Auto Trait Implementations§
impl Freeze for BasicSongData
impl RefUnwindSafe for BasicSongData
impl Send for BasicSongData
impl Sync for BasicSongData
impl Unpin for BasicSongData
impl UnwindSafe for BasicSongData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more