Struct librespot_protocol::spirc::State[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl State[src]

pub fn new() -> State[src]

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

pub fn clear_context_uri(&mut self)[src]

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

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

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

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

pub fn get_index(&self) -> u32[src]

pub fn clear_index(&mut self)[src]

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

pub fn set_index(&mut self, v: u32)[src]

pub fn get_position_ms(&self) -> u32[src]

pub fn clear_position_ms(&mut self)[src]

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

pub fn set_position_ms(&mut self, v: u32)[src]

pub fn get_status(&self) -> PlayStatus[src]

pub fn clear_status(&mut self)[src]

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

pub fn set_status(&mut self, v: PlayStatus)[src]

pub fn get_position_measured_at(&self) -> u64[src]

pub fn clear_position_measured_at(&mut self)[src]

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

pub fn set_position_measured_at(&mut self, v: u64)[src]

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

pub fn clear_context_description(&mut self)[src]

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

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

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

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

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

pub fn clear_shuffle(&mut self)[src]

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

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

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

pub fn clear_repeat(&mut self)[src]

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

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

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

pub fn clear_last_command_ident(&mut self)[src]

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

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

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

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

pub fn get_last_command_msgid(&self) -> u32[src]

pub fn clear_last_command_msgid(&mut self)[src]

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

pub fn set_last_command_msgid(&mut self, v: u32)[src]

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

pub fn clear_playing_from_fallback(&mut self)[src]

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

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

pub fn get_row(&self) -> u32[src]

pub fn clear_row(&mut self)[src]

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

pub fn set_row(&mut self, v: u32)[src]

pub fn get_playing_track_index(&self) -> u32[src]

pub fn clear_playing_track_index(&mut self)[src]

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

pub fn set_playing_track_index(&mut self, v: u32)[src]

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

pub fn clear_track(&mut self)[src]

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

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

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

pub fn get_ad(&self) -> &Ad[src]

pub fn clear_ad(&mut self)[src]

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

pub fn set_ad(&mut self, v: Ad)[src]

pub fn mut_ad(&mut self) -> &mut Ad[src]

pub fn take_ad(&mut self) -> Ad[src]

Trait Implementations

impl Clear for State[src]

impl Clone for State[src]

impl Debug for State[src]

impl Default for State[src]

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

impl Message for State[src]

impl PartialEq<State> for State[src]

impl ProtobufValue for State[src]

impl StructuralPartialEq for State[src]

Auto Trait Implementations

impl RefUnwindSafe for State

impl Send for State

impl Sync for State

impl Unpin for State

impl UnwindSafe for State

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.