Struct librespot_protocol::authentication::LibspotifyAppKey [−][src]
pub struct LibspotifyAppKey { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl LibspotifyAppKey
[src]
impl LibspotifyAppKey
[src]pub fn new() -> LibspotifyAppKey
[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_devkey(&self) -> &[u8]
[src]
pub fn clear_devkey(&mut self)
[src]
pub fn has_devkey(&self) -> bool
[src]
pub fn set_devkey(&mut self, v: Vec<u8>)
[src]
pub fn mut_devkey(&mut self) -> &mut Vec<u8>
[src]
pub fn take_devkey(&mut self) -> Vec<u8>
[src]
pub fn get_signature(&self) -> &[u8]
[src]
pub fn clear_signature(&mut self)
[src]
pub fn has_signature(&self) -> bool
[src]
pub fn set_signature(&mut self, v: Vec<u8>)
[src]
pub fn mut_signature(&mut self) -> &mut Vec<u8>
[src]
pub fn take_signature(&mut self) -> Vec<u8>
[src]
pub fn get_useragent(&self) -> &str
[src]
pub fn clear_useragent(&mut self)
[src]
pub fn has_useragent(&self) -> bool
[src]
pub fn set_useragent(&mut self, v: String)
[src]
pub fn mut_useragent(&mut self) -> &mut String
[src]
pub fn take_useragent(&mut self) -> String
[src]
pub fn get_callback_hash(&self) -> &[u8]
[src]
pub fn clear_callback_hash(&mut self)
[src]
pub fn has_callback_hash(&self) -> bool
[src]
pub fn set_callback_hash(&mut self, v: Vec<u8>)
[src]
pub fn mut_callback_hash(&mut self) -> &mut Vec<u8>
[src]
pub fn take_callback_hash(&mut self) -> Vec<u8>
[src]
Trait Implementations
impl Clear for LibspotifyAppKey
[src]
impl Clear for LibspotifyAppKey
[src]impl Clone for LibspotifyAppKey
[src]
impl Clone for LibspotifyAppKey
[src]fn clone(&self) -> LibspotifyAppKey
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for LibspotifyAppKey
[src]
impl Default for LibspotifyAppKey
[src]fn default() -> LibspotifyAppKey
[src]
impl<'a> Default for &'a LibspotifyAppKey
[src]
impl<'a> Default for &'a LibspotifyAppKey
[src]fn default() -> &'a LibspotifyAppKey
[src]
impl Message for LibspotifyAppKey
[src]
impl Message for LibspotifyAppKey
[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() -> LibspotifyAppKey
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static LibspotifyAppKey
[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<LibspotifyAppKey> for LibspotifyAppKey
[src]
impl PartialEq<LibspotifyAppKey> for LibspotifyAppKey
[src]fn eq(&self, other: &LibspotifyAppKey) -> bool
[src]
fn ne(&self, other: &LibspotifyAppKey) -> bool
[src]
impl ProtobufValue for LibspotifyAppKey
[src]
impl ProtobufValue for LibspotifyAppKey
[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 LibspotifyAppKey
[src]
impl StructuralPartialEq for LibspotifyAppKey
[src]Auto Trait Implementations
impl RefUnwindSafe for LibspotifyAppKey
impl RefUnwindSafe for LibspotifyAppKey
impl Send for LibspotifyAppKey
impl Send for LibspotifyAppKey
impl Sync for LibspotifyAppKey
impl Sync for LibspotifyAppKey
impl Unpin for LibspotifyAppKey
impl Unpin for LibspotifyAppKey
impl UnwindSafe for LibspotifyAppKey
impl UnwindSafe for LibspotifyAppKey