[−][src]Struct librespot_protocol::spirc::Frame
Fields
unknown_fields: UnknownFieldscached_size: CachedSizeMethods
impl Frame[src]
pub fn new() -> Frame[src]
pub fn get_version(&self) -> u32[src]
pub fn clear_version(&mut self)[src]
pub fn has_version(&self) -> bool[src]
pub fn set_version(&mut self, v: u32)[src]
pub fn get_ident(&self) -> &str[src]
pub fn clear_ident(&mut self)[src]
pub fn has_ident(&self) -> bool[src]
pub fn set_ident(&mut self, v: String)[src]
pub fn mut_ident(&mut self) -> &mut String[src]
pub fn take_ident(&mut self) -> String[src]
pub fn get_protocol_version(&self) -> &str[src]
pub fn clear_protocol_version(&mut self)[src]
pub fn has_protocol_version(&self) -> bool[src]
pub fn set_protocol_version(&mut self, v: String)[src]
pub fn mut_protocol_version(&mut self) -> &mut String[src]
pub fn take_protocol_version(&mut self) -> String[src]
pub fn get_seq_nr(&self) -> u32[src]
pub fn clear_seq_nr(&mut self)[src]
pub fn has_seq_nr(&self) -> bool[src]
pub fn set_seq_nr(&mut self, v: u32)[src]
pub fn get_typ(&self) -> MessageType[src]
pub fn clear_typ(&mut self)[src]
pub fn has_typ(&self) -> bool[src]
pub fn set_typ(&mut self, v: MessageType)[src]
pub fn get_device_state(&self) -> &DeviceState[src]
pub fn clear_device_state(&mut self)[src]
pub fn has_device_state(&self) -> bool[src]
pub fn set_device_state(&mut self, v: DeviceState)[src]
pub fn mut_device_state(&mut self) -> &mut DeviceState[src]
pub fn take_device_state(&mut self) -> DeviceState[src]
pub fn get_goodbye(&self) -> &Goodbye[src]
pub fn clear_goodbye(&mut self)[src]
pub fn has_goodbye(&self) -> bool[src]
pub fn set_goodbye(&mut self, v: Goodbye)[src]
pub fn mut_goodbye(&mut self) -> &mut Goodbye[src]
pub fn take_goodbye(&mut self) -> Goodbye[src]
pub fn get_state(&self) -> &State[src]
pub fn clear_state(&mut self)[src]
pub fn has_state(&self) -> bool[src]
pub fn set_state(&mut self, v: State)[src]
pub fn mut_state(&mut self) -> &mut State[src]
pub fn take_state(&mut self) -> State[src]
pub fn get_position(&self) -> u32[src]
pub fn clear_position(&mut self)[src]
pub fn has_position(&self) -> bool[src]
pub fn set_position(&mut self, v: u32)[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_state_update_id(&self) -> i64[src]
pub fn clear_state_update_id(&mut self)[src]
pub fn has_state_update_id(&self) -> bool[src]
pub fn set_state_update_id(&mut self, v: i64)[src]
pub fn get_recipient(&self) -> &[String][src]
pub fn clear_recipient(&mut self)[src]
pub fn set_recipient(&mut self, v: RepeatedField<String>)[src]
pub fn mut_recipient(&mut self) -> &mut RepeatedField<String>[src]
pub fn take_recipient(&mut self) -> RepeatedField<String>[src]
pub fn get_context_player_state(&self) -> &[u8][src]
pub fn clear_context_player_state(&mut self)[src]
pub fn has_context_player_state(&self) -> bool[src]
pub fn set_context_player_state(&mut self, v: Vec<u8>)[src]
pub fn mut_context_player_state(&mut self) -> &mut Vec<u8>[src]
pub fn take_context_player_state(&mut self) -> Vec<u8>[src]
pub fn get_new_name(&self) -> &str[src]
pub fn clear_new_name(&mut self)[src]
pub fn has_new_name(&self) -> bool[src]
pub fn set_new_name(&mut self, v: String)[src]
pub fn mut_new_name(&mut self) -> &mut String[src]
pub fn take_new_name(&mut self) -> String[src]
pub fn get_metadata(&self) -> &Metadata[src]
pub fn clear_metadata(&mut self)[src]
pub fn has_metadata(&self) -> bool[src]
pub fn set_metadata(&mut self, v: Metadata)[src]
pub fn mut_metadata(&mut self) -> &mut Metadata[src]
pub fn take_metadata(&mut self) -> Metadata[src]
Trait Implementations
impl Clone for Frame[src]
impl Default for Frame[src]
impl<'a> Default for &'a Frame[src]
impl PartialEq<Frame> for Frame[src]
impl Debug for Frame[src]
impl StructuralPartialEq for Frame[src]
impl Message for Frame[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() -> Frame[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static Frame[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 Frame[src]
impl ProtobufValue for Frame[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 Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
impl RefUnwindSafe for Frame
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,