Struct SystemInfo
pub struct SystemInfo {
pub software_version: String,
pub software_build: String,
pub firmware_version: String,
pub hardware_version: String,
pub device_id: String,
pub ak_pub: Box<AkPub>,
pub pcr: Box<Pcr>,
}
Fields§
§software_version: String
§software_build: String
§firmware_version: String
§hardware_version: String
§device_id: String
§ak_pub: Box<AkPub>
§pcr: Box<Pcr>
Implementations§
§impl SystemInfo
impl SystemInfo
Trait Implementations§
§impl Clone for SystemInfo
impl Clone for SystemInfo
§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a copy 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 more§impl Debug for SystemInfo
impl Debug for SystemInfo
§impl Default for SystemInfo
impl Default for SystemInfo
§fn default() -> SystemInfo
fn default() -> SystemInfo
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for SystemInfo
impl<'de> Deserialize<'de> for SystemInfo
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for SystemInfo
impl PartialEq for SystemInfo
§impl Serialize for SystemInfo
impl Serialize for SystemInfo
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SystemInfo
Auto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)