pub struct OwnershipActivateRequest {
pub primary_bl0_slot: BootSlot,
pub erase_previous: HardenedBool,
pub reserved: Vec<u8>,
pub nonce: u64,
pub signature: EcdsaRawSignature,
}
Expand description
Request to activate ownership of the chip.
Fields§
§primary_bl0_slot: BootSlot
The new primary boot slot after activating ownership.
erase_previous: HardenedBool
Whether to erase the previous owner’s data during activation.
reserved: Vec<u8>
Reserved for future use.
nonce: u64
The ROM_EXT nonce.
signature: EcdsaRawSignature
A signature over [primary_bl0_slot..nonce] with the next owner’s activate key.
Implementations§
Trait Implementations§
Source§impl Annotate for &OwnershipActivateRequest
impl Annotate for &OwnershipActivateRequest
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for OwnershipActivateRequest
impl Annotate for OwnershipActivateRequest
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Debug for OwnershipActivateRequest
impl Debug for OwnershipActivateRequest
Source§impl Default for OwnershipActivateRequest
impl Default for OwnershipActivateRequest
Source§fn default() -> OwnershipActivateRequest
fn default() -> OwnershipActivateRequest
Returns the “default value” for a type. Read more
Source§impl Serialize for OwnershipActivateRequest
impl Serialize for OwnershipActivateRequest
Auto Trait Implementations§
impl Freeze for OwnershipActivateRequest
impl RefUnwindSafe for OwnershipActivateRequest
impl Send for OwnershipActivateRequest
impl Sync for OwnershipActivateRequest
impl Unpin for OwnershipActivateRequest
impl UnwindSafe for OwnershipActivateRequest
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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