pub struct SevInfoBase {
pub api_major: u8,
pub api_minor: u8,
pub build_id: u8,
pub enabled: bool,
pub state: SevState,
}
Fields§
§api_major: u8
§api_minor: u8
§build_id: u8
§enabled: bool
§state: SevState
Trait Implementations§
Source§impl Clone for SevInfoBase
impl Clone for SevInfoBase
Source§fn clone(&self) -> SevInfoBase
fn clone(&self) -> SevInfoBase
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 SevInfoBase
impl Debug for SevInfoBase
Source§impl<'de> Deserialize<'de> for SevInfoBase
impl<'de> Deserialize<'de> for SevInfoBase
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 SevInfoBase
impl RefUnwindSafe for SevInfoBase
impl Send for SevInfoBase
impl Sync for SevInfoBase
impl Unpin for SevInfoBase
impl UnwindSafe for SevInfoBase
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