Struct librespot_protocol::metadata::Disc[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Disc[src]

pub fn new() -> Disc[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_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_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 Disc[src]

impl Clone for Disc[src]

impl Debug for Disc[src]

impl Default for Disc[src]

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

impl Message for Disc[src]

impl PartialEq<Disc> for Disc[src]

impl ProtobufValue for Disc[src]

impl StructuralPartialEq for Disc[src]

Auto Trait Implementations

impl RefUnwindSafe for Disc

impl Send for Disc

impl Sync for Disc

impl Unpin for Disc

impl UnwindSafe for Disc

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.