Struct librespot_protocol::metadata::Track[][src]

pub struct Track {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted


unknown_fields: UnknownFieldscached_size: CachedSize


impl Track[src]

pub fn new() -> Track[src]

pub fn get_gid(&self) -> &[u8][src]

pub fn clear_gid(&mut self)[src]

pub fn has_gid(&self) -> bool[src]

pub fn set_gid(&mut self, v: Vec<u8>)[src]

pub fn mut_gid(&mut self) -> &mut Vec<u8>[src]

pub fn take_gid(&mut self) -> Vec<u8>[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

pub fn has_name(&self) -> bool[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_album(&self) -> &Album[src]

pub fn clear_album(&mut self)[src]

pub fn has_album(&self) -> bool[src]

pub fn set_album(&mut self, v: Album)[src]

pub fn mut_album(&mut self) -> &mut Album[src]

pub fn take_album(&mut self) -> Album[src]

pub fn get_artist(&self) -> &[Artist][src]

pub fn clear_artist(&mut self)[src]

pub fn set_artist(&mut self, v: RepeatedField<Artist>)[src]

pub fn mut_artist(&mut self) -> &mut RepeatedField<Artist>[src]

pub fn take_artist(&mut self) -> RepeatedField<Artist>[src]

pub fn get_number(&self) -> i32[src]

pub fn clear_number(&mut self)[src]

pub fn has_number(&self) -> bool[src]

pub fn set_number(&mut self, v: i32)[src]

pub fn get_disc_number(&self) -> i32[src]

pub fn clear_disc_number(&mut self)[src]

pub fn has_disc_number(&self) -> bool[src]

pub fn set_disc_number(&mut self, v: i32)[src]

pub fn get_duration(&self) -> i32[src]

pub fn clear_duration(&mut self)[src]

pub fn has_duration(&self) -> bool[src]

pub fn set_duration(&mut self, v: i32)[src]

pub fn get_popularity(&self) -> i32[src]

pub fn clear_popularity(&mut self)[src]

pub fn has_popularity(&self) -> bool[src]

pub fn set_popularity(&mut self, v: i32)[src]

pub fn get_explicit(&self) -> bool[src]

pub fn clear_explicit(&mut self)[src]

pub fn has_explicit(&self) -> bool[src]

pub fn set_explicit(&mut self, v: bool)[src]

pub fn get_external_id(&self) -> &[ExternalId][src]

pub fn clear_external_id(&mut self)[src]

pub fn set_external_id(&mut self, v: RepeatedField<ExternalId>)[src]

pub fn mut_external_id(&mut self) -> &mut RepeatedField<ExternalId>[src]

pub fn take_external_id(&mut self) -> RepeatedField<ExternalId>[src]

pub fn get_restriction(&self) -> &[Restriction][src]

pub fn clear_restriction(&mut self)[src]

pub fn set_restriction(&mut self, v: RepeatedField<Restriction>)[src]

pub fn mut_restriction(&mut self) -> &mut RepeatedField<Restriction>[src]

pub fn take_restriction(&mut self) -> RepeatedField<Restriction>[src]

pub fn get_file(&self) -> &[AudioFile][src]

pub fn clear_file(&mut self)[src]

pub fn set_file(&mut self, v: RepeatedField<AudioFile>)[src]

pub fn mut_file(&mut self) -> &mut RepeatedField<AudioFile>[src]

pub fn take_file(&mut self) -> RepeatedField<AudioFile>[src]

pub fn get_alternative(&self) -> &[Track][src]

pub fn clear_alternative(&mut self)[src]

pub fn set_alternative(&mut self, v: RepeatedField<Track>)[src]

pub fn mut_alternative(&mut self) -> &mut RepeatedField<Track>[src]

pub fn take_alternative(&mut self) -> RepeatedField<Track>[src]

pub fn get_sale_period(&self) -> &[SalePeriod][src]

pub fn clear_sale_period(&mut self)[src]

pub fn set_sale_period(&mut self, v: RepeatedField<SalePeriod>)[src]

pub fn mut_sale_period(&mut self) -> &mut RepeatedField<SalePeriod>[src]

pub fn take_sale_period(&mut self) -> RepeatedField<SalePeriod>[src]

pub fn get_preview(&self) -> &[AudioFile][src]

pub fn clear_preview(&mut self)[src]

pub fn set_preview(&mut self, v: RepeatedField<AudioFile>)[src]

pub fn mut_preview(&mut self) -> &mut RepeatedField<AudioFile>[src]

pub fn take_preview(&mut self) -> RepeatedField<AudioFile>[src]

Trait Implementations

impl Clear for Track[src]

impl Clone for Track[src]

impl Debug for Track[src]

impl Default for Track[src]

impl<'a> Default for &'a Track[src]

impl Message for Track[src]

impl PartialEq<Track> for Track[src]

impl ProtobufValue for Track[src]

impl StructuralPartialEq for Track[src]

Auto Trait Implementations

impl RefUnwindSafe for Track

impl Send for Track

impl Sync for Track

impl Unpin for Track

impl UnwindSafe for Track

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.