pub trait MusicCompositionTrait {
Show 20 methods
// Required methods
fn get_composer(&self) -> &[ComposerProperty];
fn take_composer(&mut self) -> Vec<ComposerProperty>;
fn get_first_performance(&self) -> &[FirstPerformanceProperty];
fn take_first_performance(&mut self) -> Vec<FirstPerformanceProperty>;
fn get_included_composition(&self) -> &[IncludedCompositionProperty];
fn take_included_composition(&mut self) -> Vec<IncludedCompositionProperty>;
fn get_iswc_code(&self) -> &[IswcCodeProperty];
fn take_iswc_code(&mut self) -> Vec<IswcCodeProperty>;
fn get_lyricist(&self) -> &[LyricistProperty];
fn take_lyricist(&mut self) -> Vec<LyricistProperty>;
fn get_lyrics(&self) -> &[LyricsProperty];
fn take_lyrics(&mut self) -> Vec<LyricsProperty>;
fn get_music_arrangement(&self) -> &[MusicArrangementProperty];
fn take_music_arrangement(&mut self) -> Vec<MusicArrangementProperty>;
fn get_music_composition_form(&self) -> &[MusicCompositionFormProperty];
fn take_music_composition_form(
&mut self
) -> Vec<MusicCompositionFormProperty>;
fn get_musical_key(&self) -> &[MusicalKeyProperty];
fn take_musical_key(&mut self) -> Vec<MusicalKeyProperty>;
fn get_recorded_as(&self) -> &[RecordedAsProperty];
fn take_recorded_as(&mut self) -> Vec<RecordedAsProperty>;
}
Expand description
This trait is for properties from https://schema.org/MusicComposition.
Required Methods§
sourcefn get_composer(&self) -> &[ComposerProperty]
fn get_composer(&self) -> &[ComposerProperty]
Get https://schema.org/composer from Self
as borrowed slice.
sourcefn take_composer(&mut self) -> Vec<ComposerProperty>
fn take_composer(&mut self) -> Vec<ComposerProperty>
Take https://schema.org/composer from Self
as owned vector.
sourcefn get_first_performance(&self) -> &[FirstPerformanceProperty]
fn get_first_performance(&self) -> &[FirstPerformanceProperty]
Get https://schema.org/firstPerformance from Self
as borrowed slice.
sourcefn take_first_performance(&mut self) -> Vec<FirstPerformanceProperty>
fn take_first_performance(&mut self) -> Vec<FirstPerformanceProperty>
Take https://schema.org/firstPerformance from Self
as owned vector.
sourcefn get_included_composition(&self) -> &[IncludedCompositionProperty]
fn get_included_composition(&self) -> &[IncludedCompositionProperty]
Get https://schema.org/includedComposition from Self
as borrowed slice.
sourcefn take_included_composition(&mut self) -> Vec<IncludedCompositionProperty>
fn take_included_composition(&mut self) -> Vec<IncludedCompositionProperty>
Take https://schema.org/includedComposition from Self
as owned vector.
sourcefn get_iswc_code(&self) -> &[IswcCodeProperty]
fn get_iswc_code(&self) -> &[IswcCodeProperty]
Get https://schema.org/iswcCode from Self
as borrowed slice.
sourcefn take_iswc_code(&mut self) -> Vec<IswcCodeProperty>
fn take_iswc_code(&mut self) -> Vec<IswcCodeProperty>
Take https://schema.org/iswcCode from Self
as owned vector.
sourcefn get_lyricist(&self) -> &[LyricistProperty]
fn get_lyricist(&self) -> &[LyricistProperty]
Get https://schema.org/lyricist from Self
as borrowed slice.
sourcefn take_lyricist(&mut self) -> Vec<LyricistProperty>
fn take_lyricist(&mut self) -> Vec<LyricistProperty>
Take https://schema.org/lyricist from Self
as owned vector.
sourcefn get_lyrics(&self) -> &[LyricsProperty]
fn get_lyrics(&self) -> &[LyricsProperty]
Get https://schema.org/lyrics from Self
as borrowed slice.
sourcefn take_lyrics(&mut self) -> Vec<LyricsProperty>
fn take_lyrics(&mut self) -> Vec<LyricsProperty>
Take https://schema.org/lyrics from Self
as owned vector.
sourcefn get_music_arrangement(&self) -> &[MusicArrangementProperty]
fn get_music_arrangement(&self) -> &[MusicArrangementProperty]
Get https://schema.org/musicArrangement from Self
as borrowed slice.
sourcefn take_music_arrangement(&mut self) -> Vec<MusicArrangementProperty>
fn take_music_arrangement(&mut self) -> Vec<MusicArrangementProperty>
Take https://schema.org/musicArrangement from Self
as owned vector.
sourcefn get_music_composition_form(&self) -> &[MusicCompositionFormProperty]
fn get_music_composition_form(&self) -> &[MusicCompositionFormProperty]
Get https://schema.org/musicCompositionForm from Self
as borrowed slice.
sourcefn take_music_composition_form(&mut self) -> Vec<MusicCompositionFormProperty>
fn take_music_composition_form(&mut self) -> Vec<MusicCompositionFormProperty>
Take https://schema.org/musicCompositionForm from Self
as owned vector.
sourcefn get_musical_key(&self) -> &[MusicalKeyProperty]
fn get_musical_key(&self) -> &[MusicalKeyProperty]
Get https://schema.org/musicalKey from Self
as borrowed slice.
sourcefn take_musical_key(&mut self) -> Vec<MusicalKeyProperty>
fn take_musical_key(&mut self) -> Vec<MusicalKeyProperty>
Take https://schema.org/musicalKey from Self
as owned vector.
sourcefn get_recorded_as(&self) -> &[RecordedAsProperty]
fn get_recorded_as(&self) -> &[RecordedAsProperty]
Get https://schema.org/recordedAs from Self
as borrowed slice.
sourcefn take_recorded_as(&mut self) -> Vec<RecordedAsProperty>
fn take_recorded_as(&mut self) -> Vec<RecordedAsProperty>
Take https://schema.org/recordedAs from Self
as owned vector.