pub trait BroadcastChannelTrait {
    // Required methods
    fn get_broadcast_channel_id(&self) -> &[BroadcastChannelIdProperty];
    fn take_broadcast_channel_id(&mut self) -> Vec<BroadcastChannelIdProperty>;
    fn get_broadcast_frequency(&self) -> &[BroadcastFrequencyProperty];
    fn take_broadcast_frequency(&mut self) -> Vec<BroadcastFrequencyProperty>;
    fn get_broadcast_service_tier(&self) -> &[BroadcastServiceTierProperty];
    fn take_broadcast_service_tier(
        &mut self
    ) -> Vec<BroadcastServiceTierProperty>;
    fn get_genre(&self) -> &[GenreProperty];
    fn take_genre(&mut self) -> Vec<GenreProperty>;
    fn get_in_broadcast_lineup(&self) -> &[InBroadcastLineupProperty];
    fn take_in_broadcast_lineup(&mut self) -> Vec<InBroadcastLineupProperty>;
    fn get_provides_broadcast_service(
        &self
    ) -> &[ProvidesBroadcastServiceProperty];
    fn take_provides_broadcast_service(
        &mut self
    ) -> Vec<ProvidesBroadcastServiceProperty>;
}
Expand description

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

Required Methods§

source

fn get_broadcast_channel_id(&self) -> &[BroadcastChannelIdProperty]

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

source

fn take_broadcast_channel_id(&mut self) -> Vec<BroadcastChannelIdProperty>

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

source

fn get_broadcast_frequency(&self) -> &[BroadcastFrequencyProperty]

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

source

fn take_broadcast_frequency(&mut self) -> Vec<BroadcastFrequencyProperty>

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

source

fn get_broadcast_service_tier(&self) -> &[BroadcastServiceTierProperty]

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

source

fn take_broadcast_service_tier(&mut self) -> Vec<BroadcastServiceTierProperty>

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

source

fn get_genre(&self) -> &[GenreProperty]

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

source

fn take_genre(&mut self) -> Vec<GenreProperty>

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

source

fn get_in_broadcast_lineup(&self) -> &[InBroadcastLineupProperty]

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

source

fn take_in_broadcast_lineup(&mut self) -> Vec<InBroadcastLineupProperty>

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

source

fn get_provides_broadcast_service(&self) -> &[ProvidesBroadcastServiceProperty]

source

fn take_provides_broadcast_service( &mut self ) -> Vec<ProvidesBroadcastServiceProperty>

Implementors§