Struct librespot_protocol::metadata::TopTracks[][src]

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

Generated files are compatible only with the same version of protobuf runtime.


unknown_fields: UnknownFieldscached_size: CachedSize


impl TopTracks[src]

pub fn new() -> TopTracks[src]

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

pub fn clear_country(&mut self)[src]

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

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

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

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

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

pub fn clear_track(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for TopTracks[src]

impl Clone for TopTracks[src]

impl Debug for TopTracks[src]

impl Default for TopTracks[src]

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

impl Message for TopTracks[src]

impl PartialEq<TopTracks> for TopTracks[src]

impl ProtobufValue for TopTracks[src]

impl StructuralPartialEq for TopTracks[src]

Auto Trait Implementations

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.