Struct librespot_protocol::spirc::DeviceState [−][src]
pub struct DeviceState { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl DeviceState
[src]
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 Clear for DeviceState
[src]impl Clone for DeviceState
[src]
impl Clone for DeviceState
[src]fn clone(&self) -> DeviceState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for DeviceState
[src]
impl Default for DeviceState
[src]fn default() -> DeviceState
[src]
impl<'a> Default for &'a DeviceState
[src]
impl<'a> Default for &'a DeviceState
[src]fn default() -> &'a DeviceState
[src]
impl Message 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]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
impl PartialEq<DeviceState> for DeviceState
[src]
impl PartialEq<DeviceState> for DeviceState
[src]fn eq(&self, other: &DeviceState) -> bool
[src]
fn ne(&self, other: &DeviceState) -> bool
[src]
impl ProtobufValue for DeviceState
[src]
impl ProtobufValue for DeviceState
[src]fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for DeviceState
[src]
impl StructuralPartialEq for DeviceState
[src]Auto Trait Implementations
impl RefUnwindSafe for DeviceState
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl Unpin for DeviceState
impl UnwindSafe for DeviceState
impl UnwindSafe for DeviceState