Struct librespot_protocol::spirc::DeviceState[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl DeviceState[src]

pub fn new() -> DeviceState[src]

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

pub fn clear_sw_version(&mut self)[src]

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

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

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

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

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

pub fn clear_is_active(&mut self)[src]

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

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

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

pub fn clear_can_play(&mut self)[src]

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

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

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

pub fn clear_volume(&mut self)[src]

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

pub fn set_volume(&mut self, v: u32)[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_error_code(&self) -> u32[src]

pub fn clear_error_code(&mut self)[src]

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

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

pub fn get_became_active_at(&self) -> i64[src]

pub fn clear_became_active_at(&mut self)[src]

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

pub fn set_became_active_at(&mut self, v: i64)[src]

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

pub fn clear_error_message(&mut self)[src]

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

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

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

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

pub fn get_capabilities(&self) -> &[Capability][src]

pub fn clear_capabilities(&mut self)[src]

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

pub fn mut_capabilities(&mut self) -> &mut RepeatedField<Capability>[src]

pub fn take_capabilities(&mut self) -> RepeatedField<Capability>[src]

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

pub fn clear_context_player_error(&mut self)[src]

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

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

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

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

pub fn get_metadata(&self) -> &[Metadata][src]

pub fn clear_metadata(&mut self)[src]

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

pub fn mut_metadata(&mut self) -> &mut RepeatedField<Metadata>[src]

pub fn take_metadata(&mut self) -> RepeatedField<Metadata>[src]

Trait Implementations

impl Clear for DeviceState[src]

impl Clone for DeviceState[src]

impl Debug for DeviceState[src]

impl Default for DeviceState[src]

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

impl Message for DeviceState[src]

impl PartialEq<DeviceState> for DeviceState[src]

impl ProtobufValue for DeviceState[src]

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