Trait schema_org_types::MusicReleaseTrait
source · 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§
sourcefn get_catalog_number(&self) -> &[CatalogNumberProperty]
fn get_catalog_number(&self) -> &[CatalogNumberProperty]
Get https://schema.org/catalogNumber from Self
as borrowed slice.
sourcefn take_catalog_number(&mut self) -> Vec<CatalogNumberProperty>
fn take_catalog_number(&mut self) -> Vec<CatalogNumberProperty>
Take https://schema.org/catalogNumber from Self
as owned vector.
sourcefn get_credited_to(&self) -> &[CreditedToProperty]
fn get_credited_to(&self) -> &[CreditedToProperty]
Get https://schema.org/creditedTo from Self
as borrowed slice.
sourcefn take_credited_to(&mut self) -> Vec<CreditedToProperty>
fn take_credited_to(&mut self) -> Vec<CreditedToProperty>
Take https://schema.org/creditedTo from Self
as owned vector.
sourcefn get_duration(&self) -> &[DurationProperty]
fn get_duration(&self) -> &[DurationProperty]
Get https://schema.org/duration from Self
as borrowed slice.
sourcefn take_duration(&mut self) -> Vec<DurationProperty>
fn take_duration(&mut self) -> Vec<DurationProperty>
Take https://schema.org/duration from Self
as owned vector.
sourcefn get_music_release_format(&self) -> &[MusicReleaseFormatProperty]
fn get_music_release_format(&self) -> &[MusicReleaseFormatProperty]
Get https://schema.org/musicReleaseFormat from Self
as borrowed slice.
sourcefn take_music_release_format(&mut self) -> Vec<MusicReleaseFormatProperty>
fn take_music_release_format(&mut self) -> Vec<MusicReleaseFormatProperty>
Take https://schema.org/musicReleaseFormat from Self
as owned vector.
sourcefn get_record_label(&self) -> &[RecordLabelProperty]
fn get_record_label(&self) -> &[RecordLabelProperty]
Get https://schema.org/recordLabel from Self
as borrowed slice.
sourcefn take_record_label(&mut self) -> Vec<RecordLabelProperty>
fn take_record_label(&mut self) -> Vec<RecordLabelProperty>
Take https://schema.org/recordLabel from Self
as owned vector.
sourcefn get_release_of(&self) -> &[ReleaseOfProperty]
fn get_release_of(&self) -> &[ReleaseOfProperty]
Get https://schema.org/releaseOf from Self
as borrowed slice.
sourcefn take_release_of(&mut self) -> Vec<ReleaseOfProperty>
fn take_release_of(&mut self) -> Vec<ReleaseOfProperty>
Take https://schema.org/releaseOf from Self
as owned vector.