pub struct DeviceAttributes {
pub sdk_version: Option<i32>,
}Expand description
Contains information about the device for which the integrity token was generated, e.g. Android SDK version.
This type is not used in any activity, and only used as part of another schema.
Fields§
§sdk_version: Option<i32>Android SDK version of the device, as defined in the public Android documentation: https://developer.android.com/reference/android/os/Build.VERSION_CODES. It won’t be set if a necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.
Trait Implementations§
Source§impl Clone for DeviceAttributes
impl Clone for DeviceAttributes
Source§fn clone(&self) -> DeviceAttributes
fn clone(&self) -> DeviceAttributes
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 DeviceAttributes
impl Debug for DeviceAttributes
Source§impl Default for DeviceAttributes
impl Default for DeviceAttributes
Source§fn default() -> DeviceAttributes
fn default() -> DeviceAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceAttributes
impl<'de> Deserialize<'de> for DeviceAttributes
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 DeviceAttributes
impl Serialize for DeviceAttributes
impl Part for DeviceAttributes
Auto Trait Implementations§
impl Freeze for DeviceAttributes
impl RefUnwindSafe for DeviceAttributes
impl Send for DeviceAttributes
impl Sync for DeviceAttributes
impl Unpin for DeviceAttributes
impl UnwindSafe for DeviceAttributes
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