pub struct SevGuestProperties {
pub base: SevCommonProperties,
pub dh_cert_file: Option<Vec<u8>>,
pub handle: Option<u32>,
pub legacy_vm_type: Option<OnOffAuto>,
pub policy: Option<u32>,
pub session_file: Option<Vec<u8>>,
}
Fields§
§base: SevCommonProperties
§dh_cert_file: Option<Vec<u8>>
§handle: Option<u32>
§legacy_vm_type: Option<OnOffAuto>
§policy: Option<u32>
§session_file: Option<Vec<u8>>
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 Clone for SevGuestProperties
impl Clone for SevGuestProperties
Source§fn clone(&self) -> SevGuestProperties
fn clone(&self) -> SevGuestProperties
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 SevGuestProperties
impl Debug for SevGuestProperties
Source§impl<'de> Deserialize<'de> for SevGuestProperties
impl<'de> Deserialize<'de> for SevGuestProperties
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
Source§impl<T: Into<SevCommonProperties>> From<T> for SevGuestProperties
impl<T: Into<SevCommonProperties>> From<T> for SevGuestProperties
Auto Trait Implementations§
impl Freeze for SevGuestProperties
impl RefUnwindSafe for SevGuestProperties
impl Send for SevGuestProperties
impl Sync for SevGuestProperties
impl Unpin for SevGuestProperties
impl UnwindSafe for SevGuestProperties
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