pub struct Song {
pub lines: Vec<Line>,
pub metadata: Option<SongMetaData>,
pub basic_data: BasicSongData,
}
Expand description
A full set of available data about a tab on UG
This struct is normally generated by crate::tab_scraper::get_song_data
.
Fields§
§lines: Vec<Line>
A vector of all lines in the tab
metadata: Option<SongMetaData>
The detailed metadata of the song.
This data is optional, because some types of tab (e.g. Drum) don’t have any metadata.
basic_data: BasicSongData
Basic data about the tab
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Song
impl<'de> Deserialize<'de> for Song
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
impl StructuralPartialEq for Song
Auto Trait Implementations§
impl Freeze for Song
impl RefUnwindSafe for Song
impl Send for Song
impl Sync for Song
impl Unpin for Song
impl UnwindSafe for Song
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