[−][src]Struct librespot_protocol::spirc::DeviceState
Fields
unknown_fields: UnknownFieldscached_size: CachedSizeMethods
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 Clone for DeviceState[src]
fn clone(&self) -> DeviceState[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for DeviceState[src]
fn default() -> DeviceState[src]
impl<'a> Default for &'a DeviceState[src]
fn default() -> &'a DeviceState[src]
impl PartialEq<DeviceState> for DeviceState[src]
fn eq(&self, other: &DeviceState) -> bool[src]
fn ne(&self, other: &DeviceState) -> bool[src]
impl Debug for DeviceState[src]
impl StructuralPartialEq for DeviceState[src]
impl Message for DeviceState[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> DeviceState[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static DeviceState[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl Clear for DeviceState[src]
impl ProtobufValue for DeviceState[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
Auto Trait Implementations
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnwindSafe for DeviceState
impl RefUnwindSafe for DeviceState
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,