#[non_exhaustive]pub struct ShieldedInstanceIdentity {
pub encryption_key: Option<ShieldedInstanceIdentityEntry>,
pub kind: Option<String>,
pub signing_key: Option<ShieldedInstanceIdentityEntry>,
/* private fields */
}Available on crate feature
instances only.Expand description
A Shielded Instance Identity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.encryption_key: Option<ShieldedInstanceIdentityEntry>An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance’s vTPM.
kind: Option<String>[Output Only] Type of the resource. Alwayscompute#shieldedInstanceIdentity for shielded Instance identity entry.
signing_key: Option<ShieldedInstanceIdentityEntry>An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance’s vTPM.
Implementations§
Source§impl ShieldedInstanceIdentity
impl ShieldedInstanceIdentity
pub fn new() -> Self
Sourcepub fn set_encryption_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_encryption_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets the value of encryption_key.
Sourcepub fn set_or_clear_encryption_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_or_clear_encryption_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets or clears the value of encryption_key.
Sourcepub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
Sets or clears the value of kind.
Sourcepub fn set_signing_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_signing_key<T>(self, v: T) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets the value of signing_key.
Sourcepub fn set_or_clear_signing_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
pub fn set_or_clear_signing_key<T>(self, v: Option<T>) -> Selfwhere
T: Into<ShieldedInstanceIdentityEntry>,
Sets or clears the value of signing_key.
Trait Implementations§
Source§impl Clone for ShieldedInstanceIdentity
impl Clone for ShieldedInstanceIdentity
Source§fn clone(&self) -> ShieldedInstanceIdentity
fn clone(&self) -> ShieldedInstanceIdentity
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 ShieldedInstanceIdentity
impl Debug for ShieldedInstanceIdentity
Source§impl Default for ShieldedInstanceIdentity
impl Default for ShieldedInstanceIdentity
Source§fn default() -> ShieldedInstanceIdentity
fn default() -> ShieldedInstanceIdentity
Returns the “default value” for a type. Read more
Source§impl Message for ShieldedInstanceIdentity
impl Message for ShieldedInstanceIdentity
Source§impl PartialEq for ShieldedInstanceIdentity
impl PartialEq for ShieldedInstanceIdentity
impl StructuralPartialEq for ShieldedInstanceIdentity
Auto Trait Implementations§
impl Freeze for ShieldedInstanceIdentity
impl RefUnwindSafe for ShieldedInstanceIdentity
impl Send for ShieldedInstanceIdentity
impl Sync for ShieldedInstanceIdentity
impl Unpin for ShieldedInstanceIdentity
impl UnwindSafe for ShieldedInstanceIdentity
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