pub struct SongMetaData {
pub capo: Option<String>,
pub tonality: Option<String>,
pub tuning_name: Option<String>,
pub tuning: Option<String>,
}
Expand description
Special metadata which is not available for every tab (type)
Tabs of the type Drums
never have this. Bass tabs often don’t have.
Many tabs are missing values of the metadata; thus, they are all options.
This struct is normally automatically generated when using crate::tab_scraper::get_song_data
.
Fields§
§capo: Option<String>
§tonality: Option<String>
§tuning_name: Option<String>
§tuning: Option<String>
Trait Implementations§
Source§impl Clone for SongMetaData
impl Clone for SongMetaData
Source§fn clone(&self) -> SongMetaData
fn clone(&self) -> SongMetaData
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 SongMetaData
impl Debug for SongMetaData
Source§impl Default for SongMetaData
impl Default for SongMetaData
Source§fn default() -> SongMetaData
fn default() -> SongMetaData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SongMetaData
impl<'de> Deserialize<'de> for SongMetaData
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 SongMetaData
impl Display for SongMetaData
Source§impl PartialEq for SongMetaData
impl PartialEq for SongMetaData
Source§impl Serialize for SongMetaData
impl Serialize for SongMetaData
impl StructuralPartialEq for SongMetaData
Auto Trait Implementations§
impl Freeze for SongMetaData
impl RefUnwindSafe for SongMetaData
impl Send for SongMetaData
impl Sync for SongMetaData
impl Unpin for SongMetaData
impl UnwindSafe for SongMetaData
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