Trait schema_org_types::MusicAlbumTrait
source · pub trait MusicAlbumTrait {
// Required methods
fn get_album_production_type(&self) -> &[AlbumProductionTypeProperty];
fn take_album_production_type(&mut self) -> Vec<AlbumProductionTypeProperty>;
fn get_album_release(&self) -> &[AlbumReleaseProperty];
fn take_album_release(&mut self) -> Vec<AlbumReleaseProperty>;
fn get_album_release_type(&self) -> &[AlbumReleaseTypeProperty];
fn take_album_release_type(&mut self) -> Vec<AlbumReleaseTypeProperty>;
fn get_by_artist(&self) -> &[ByArtistProperty];
fn take_by_artist(&mut self) -> Vec<ByArtistProperty>;
}
Expand description
This trait is for properties from https://schema.org/MusicAlbum.
Required Methods§
sourcefn get_album_production_type(&self) -> &[AlbumProductionTypeProperty]
fn get_album_production_type(&self) -> &[AlbumProductionTypeProperty]
Get https://schema.org/albumProductionType from Self
as borrowed slice.
sourcefn take_album_production_type(&mut self) -> Vec<AlbumProductionTypeProperty>
fn take_album_production_type(&mut self) -> Vec<AlbumProductionTypeProperty>
Take https://schema.org/albumProductionType from Self
as owned vector.
sourcefn get_album_release(&self) -> &[AlbumReleaseProperty]
fn get_album_release(&self) -> &[AlbumReleaseProperty]
Get https://schema.org/albumRelease from Self
as borrowed slice.
sourcefn take_album_release(&mut self) -> Vec<AlbumReleaseProperty>
fn take_album_release(&mut self) -> Vec<AlbumReleaseProperty>
Take https://schema.org/albumRelease from Self
as owned vector.
sourcefn get_album_release_type(&self) -> &[AlbumReleaseTypeProperty]
fn get_album_release_type(&self) -> &[AlbumReleaseTypeProperty]
Get https://schema.org/albumReleaseType from Self
as borrowed slice.
sourcefn take_album_release_type(&mut self) -> Vec<AlbumReleaseTypeProperty>
fn take_album_release_type(&mut self) -> Vec<AlbumReleaseTypeProperty>
Take https://schema.org/albumReleaseType from Self
as owned vector.
sourcefn get_by_artist(&self) -> &[ByArtistProperty]
fn get_by_artist(&self) -> &[ByArtistProperty]
Get https://schema.org/byArtist from Self
as borrowed slice.
sourcefn take_by_artist(&mut self) -> Vec<ByArtistProperty>
fn take_by_artist(&mut self) -> Vec<ByArtistProperty>
Take https://schema.org/byArtist from Self
as owned vector.