pub struct NextBl0SlotResponse {
pub status: RomError,
pub primary_bl0_slot: BootSlot,
}
Expand description
Response to the set next boot slot request.
Fields§
§status: RomError
The status response to the request.
primary_bl0_slot: BootSlot
The current primary slot.
Implementations§
Trait Implementations§
Source§impl Annotate for &NextBl0SlotResponse
impl Annotate for &NextBl0SlotResponse
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 NextBl0SlotResponse
impl Annotate for NextBl0SlotResponse
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 NextBl0SlotResponse
impl Debug for NextBl0SlotResponse
Source§impl Default for NextBl0SlotResponse
impl Default for NextBl0SlotResponse
Source§fn default() -> NextBl0SlotResponse
fn default() -> NextBl0SlotResponse
Returns the “default value” for a type. Read more
Source§impl Serialize for NextBl0SlotResponse
impl Serialize for NextBl0SlotResponse
Auto Trait Implementations§
impl Freeze for NextBl0SlotResponse
impl RefUnwindSafe for NextBl0SlotResponse
impl Send for NextBl0SlotResponse
impl Sync for NextBl0SlotResponse
impl Unpin for NextBl0SlotResponse
impl UnwindSafe for NextBl0SlotResponse
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