Struct librespot_protocol::authentication::SystemInfo [−][src]
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl SystemInfo
[src]
pub fn new() -> SystemInfo
[src]
pub fn get_cpu_family(&self) -> CpuFamily
[src]
pub fn clear_cpu_family(&mut self)
[src]
pub fn has_cpu_family(&self) -> bool
[src]
pub fn set_cpu_family(&mut self, v: CpuFamily)
[src]
pub fn get_cpu_subtype(&self) -> u32
[src]
pub fn clear_cpu_subtype(&mut self)
[src]
pub fn has_cpu_subtype(&self) -> bool
[src]
pub fn set_cpu_subtype(&mut self, v: u32)
[src]
pub fn get_cpu_ext(&self) -> u32
[src]
pub fn clear_cpu_ext(&mut self)
[src]
pub fn has_cpu_ext(&self) -> bool
[src]
pub fn set_cpu_ext(&mut self, v: u32)
[src]
pub fn get_brand(&self) -> Brand
[src]
pub fn clear_brand(&mut self)
[src]
pub fn has_brand(&self) -> bool
[src]
pub fn set_brand(&mut self, v: Brand)
[src]
pub fn get_brand_flags(&self) -> u32
[src]
pub fn clear_brand_flags(&mut self)
[src]
pub fn has_brand_flags(&self) -> bool
[src]
pub fn set_brand_flags(&mut self, v: u32)
[src]
pub fn get_os(&self) -> Os
[src]
pub fn clear_os(&mut self)
[src]
pub fn has_os(&self) -> bool
[src]
pub fn set_os(&mut self, v: Os)
[src]
pub fn get_os_version(&self) -> u32
[src]
pub fn clear_os_version(&mut self)
[src]
pub fn has_os_version(&self) -> bool
[src]
pub fn set_os_version(&mut self, v: u32)
[src]
pub fn get_os_ext(&self) -> u32
[src]
pub fn clear_os_ext(&mut self)
[src]
pub fn has_os_ext(&self) -> bool
[src]
pub fn set_os_ext(&mut self, v: u32)
[src]
pub fn get_system_information_string(&self) -> &str
[src]
pub fn clear_system_information_string(&mut self)
[src]
pub fn has_system_information_string(&self) -> bool
[src]
pub fn set_system_information_string(&mut self, v: String)
[src]
pub fn mut_system_information_string(&mut self) -> &mut String
[src]
pub fn take_system_information_string(&mut self) -> String
[src]
pub fn get_device_id(&self) -> &str
[src]
pub fn clear_device_id(&mut self)
[src]
pub fn has_device_id(&self) -> bool
[src]
pub fn set_device_id(&mut self, v: String)
[src]
pub fn mut_device_id(&mut self) -> &mut String
[src]
pub fn take_device_id(&mut self) -> String
[src]
Trait Implementations
impl Clear for SystemInfo
[src]
impl Clone for SystemInfo
[src]
fn clone(&self) -> SystemInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SystemInfo
[src]
impl Default for SystemInfo
[src]
fn default() -> SystemInfo
[src]
impl<'a> Default for &'a SystemInfo
[src]
fn default() -> &'a SystemInfo
[src]
impl Message for SystemInfo
[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() -> SystemInfo
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static SystemInfo
[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<SystemInfo> for SystemInfo
[src]
fn eq(&self, other: &SystemInfo) -> bool
[src]
fn ne(&self, other: &SystemInfo) -> bool
[src]
impl ProtobufValue for SystemInfo
[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 SystemInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for SystemInfo
[src]
impl Send for SystemInfo
[src]
impl Sync for SystemInfo
[src]
impl Unpin for SystemInfo
[src]
impl UnwindSafe for SystemInfo
[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>,