Struct librespot_protocol::spirc::Frame[][src]

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

Generated files are compatible only with the same version of protobuf runtime.


unknown_fields: UnknownFieldscached_size: CachedSize


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 Clear for Frame[src]

impl Clone for Frame[src]

impl Debug for Frame[src]

impl Default for Frame[src]

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

impl Message for Frame[src]

impl PartialEq<Frame> for Frame[src]

impl ProtobufValue for Frame[src]

impl StructuralPartialEq for Frame[src]

Auto Trait Implementations

impl RefUnwindSafe for Frame

impl Send for Frame

impl Sync for Frame

impl Unpin for Frame

impl UnwindSafe for Frame

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.