Struct librespot_protocol::spirc::TrackRef[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl TrackRef[src]

pub fn new() -> TrackRef[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_uri(&self) -> &str[src]

pub fn clear_uri(&mut self)[src]

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

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

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

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

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

pub fn clear_queued(&mut self)[src]

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

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

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

pub fn clear_context(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for TrackRef[src]

impl Clone for TrackRef[src]

impl Debug for TrackRef[src]

impl Default for TrackRef[src]

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

impl Message for TrackRef[src]

impl PartialEq<TrackRef> for TrackRef[src]

impl ProtobufValue for TrackRef[src]

impl StructuralPartialEq for TrackRef[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.