pub struct SevCommonProperties {
pub cbitpos: Option<u32>,
pub kernel_hashes: Option<bool>,
pub sev_device: Option<String>,
pub reduced_phys_bits: u32,
}
Fields§
§cbitpos: Option<u32>
§kernel_hashes: Option<bool>
§sev_device: Option<String>
§reduced_phys_bits: u32
Trait Implementations§
Source§impl AsRef<SevCommonProperties> for SevGuestProperties
impl AsRef<SevCommonProperties> for SevGuestProperties
Source§fn as_ref(&self) -> &SevCommonProperties
fn as_ref(&self) -> &SevCommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<SevCommonProperties> for SevSnpGuestProperties
impl AsRef<SevCommonProperties> for SevSnpGuestProperties
Source§fn as_ref(&self) -> &SevCommonProperties
fn as_ref(&self) -> &SevCommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SevCommonProperties
impl Clone for SevCommonProperties
Source§fn clone(&self) -> SevCommonProperties
fn clone(&self) -> SevCommonProperties
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 SevCommonProperties
impl Debug for SevCommonProperties
Source§impl<'de> Deserialize<'de> for SevCommonProperties
impl<'de> Deserialize<'de> for SevCommonProperties
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 SevCommonProperties
impl RefUnwindSafe for SevCommonProperties
impl Send for SevCommonProperties
impl Sync for SevCommonProperties
impl Unpin for SevCommonProperties
impl UnwindSafe for SevCommonProperties
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