pub struct PcrValue {
pub index: u8,
pub value: String,
}Expand description
PCR (Platform Configuration Register) value.
The value field encodes both the algorithm and the hash in the format
"algorithm:hexhash" (e.g., "sha256:abc123...").
Fields§
§index: u8PCR index (0-23 typically).
value: StringPCR value in the format "algorithm:hexhash" (e.g., "sha256:abc123...").
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PcrValue
impl<'de> Deserialize<'de> for PcrValue
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
Auto Trait Implementations§
impl Freeze for PcrValue
impl RefUnwindSafe for PcrValue
impl Send for PcrValue
impl Sync for PcrValue
impl Unpin for PcrValue
impl UnsafeUnpin for PcrValue
impl UnwindSafe for PcrValue
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