pub trait MusicReleaseTrait {
    // Required methods
    fn get_catalog_number(&self) -> &[CatalogNumberProperty];
    fn take_catalog_number(&mut self) -> Vec<CatalogNumberProperty>;
    fn get_credited_to(&self) -> &[CreditedToProperty];
    fn take_credited_to(&mut self) -> Vec<CreditedToProperty>;
    fn get_duration(&self) -> &[DurationProperty];
    fn take_duration(&mut self) -> Vec<DurationProperty>;
    fn get_music_release_format(&self) -> &[MusicReleaseFormatProperty];
    fn take_music_release_format(&mut self) -> Vec<MusicReleaseFormatProperty>;
    fn get_record_label(&self) -> &[RecordLabelProperty];
    fn take_record_label(&mut self) -> Vec<RecordLabelProperty>;
    fn get_release_of(&self) -> &[ReleaseOfProperty];
    fn take_release_of(&mut self) -> Vec<ReleaseOfProperty>;
}
Expand description

This trait is for properties from https://schema.org/MusicRelease.

Required Methods§

source

fn get_catalog_number(&self) -> &[CatalogNumberProperty]

Get https://schema.org/catalogNumber from Self as borrowed slice.

source

fn take_catalog_number(&mut self) -> Vec<CatalogNumberProperty>

Take https://schema.org/catalogNumber from Self as owned vector.

source

fn get_credited_to(&self) -> &[CreditedToProperty]

Get https://schema.org/creditedTo from Self as borrowed slice.

source

fn take_credited_to(&mut self) -> Vec<CreditedToProperty>

Take https://schema.org/creditedTo from Self as owned vector.

source

fn get_duration(&self) -> &[DurationProperty]

Get https://schema.org/duration from Self as borrowed slice.

source

fn take_duration(&mut self) -> Vec<DurationProperty>

Take https://schema.org/duration from Self as owned vector.

source

fn get_music_release_format(&self) -> &[MusicReleaseFormatProperty]

Get https://schema.org/musicReleaseFormat from Self as borrowed slice.

source

fn take_music_release_format(&mut self) -> Vec<MusicReleaseFormatProperty>

Take https://schema.org/musicReleaseFormat from Self as owned vector.

source

fn get_record_label(&self) -> &[RecordLabelProperty]

Get https://schema.org/recordLabel from Self as borrowed slice.

source

fn take_record_label(&mut self) -> Vec<RecordLabelProperty>

Take https://schema.org/recordLabel from Self as owned vector.

source

fn get_release_of(&self) -> &[ReleaseOfProperty]

Get https://schema.org/releaseOf from Self as borrowed slice.

source

fn take_release_of(&mut self) -> Vec<ReleaseOfProperty>

Take https://schema.org/releaseOf from Self as owned vector.

Implementors§