pub struct Metadata {
pub title: Option<Title>,
pub title_unicode: Option<TitleUnicode>,
pub artist: Option<Artist>,
pub artist_unicode: Option<ArtistUnicode>,
pub creator: Option<Creator>,
pub version: Option<Version>,
pub source: Option<Source>,
pub tags: Option<Tags>,
pub beatmap_id: Option<BeatmapID>,
pub beatmap_set_id: Option<BeatmapSetID>,
}
Expand description
A struct representing the metadata section of an osu file.
Fields
title: Option<Title>
Romanised song title.
title_unicode: Option<TitleUnicode>
Song title.
artist: Option<Artist>
ROmanised song artist.
artist_unicode: Option<ArtistUnicode>
Song artist.
creator: Option<Creator>
Beatmap creator.
version: Option<Version>
Difficulty name.
source: Option<Source>
Original media the song was produced for.
Search terms.
beatmap_id: Option<BeatmapID>
Difficulty ID.
beatmap_set_id: Option<BeatmapSetID>
Beatmap ID.
Implementations
Trait Implementations
sourceimpl PartialEq<Metadata> for Metadata
impl PartialEq<Metadata> for Metadata
impl Eq for Metadata
impl StructuralEq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more