Struct librespot_protocol::metadata::AudioFile[][src]

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl AudioFile[src]

pub fn new() -> AudioFile[src]

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

pub fn clear_file_id(&mut self)[src]

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

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

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

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

pub fn get_format(&self) -> AudioFile_Format[src]

pub fn clear_format(&mut self)[src]

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

pub fn set_format(&mut self, v: AudioFile_Format)[src]

Trait Implementations

impl Clear for AudioFile[src]

impl Clone for AudioFile[src]

impl Debug for AudioFile[src]

impl Default for AudioFile[src]

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

impl Message for AudioFile[src]

impl PartialEq<AudioFile> for AudioFile[src]

impl ProtobufValue for AudioFile[src]

impl StructuralPartialEq for AudioFile[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.