pub struct SystemOnChip {
pub manufacturer: Option<String>,
pub model: Option<String>,
}Expand description
Representation of a System-on-Chip (SoC) of an Android device. Can be used to target S+ devices.
This type is not used in any activity, and only used as part of another schema.
Fields§
§manufacturer: Option<String>Required. The designer of the SoC, eg. “Google” Value of build property “ro.soc.manufacturer” https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER Required.
model: Option<String>Required. The model of the SoC, eg. “Tensor” Value of build property “ro.soc.model” https://developer.android.com/reference/android/os/Build#SOC_MODEL Required.
Trait Implementations§
Source§impl Clone for SystemOnChip
impl Clone for SystemOnChip
Source§fn clone(&self) -> SystemOnChip
fn clone(&self) -> SystemOnChip
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemOnChip
impl Debug for SystemOnChip
Source§impl Default for SystemOnChip
impl Default for SystemOnChip
Source§fn default() -> SystemOnChip
fn default() -> SystemOnChip
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemOnChip
impl<'de> Deserialize<'de> for SystemOnChip
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SystemOnChip
impl Serialize for SystemOnChip
impl Part for SystemOnChip
Auto Trait Implementations§
impl Freeze for SystemOnChip
impl RefUnwindSafe for SystemOnChip
impl Send for SystemOnChip
impl Sync for SystemOnChip
impl Unpin for SystemOnChip
impl UnwindSafe for SystemOnChip
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more