Struct librespot_protocol::spirc::State [−][src]
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
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]
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() -> State
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static State
[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<State> for State
[src]
impl ProtobufValue for State
[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 State
[src]
Auto Trait Implementations
impl RefUnwindSafe for State
[src]
impl Send for State
[src]
impl Sync for State
[src]
impl Unpin for State
[src]
impl UnwindSafe for State
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,