#[non_exhaustive]pub struct GetInstanceTpmEkPubInput {
pub instance_id: Option<String>,
pub key_type: Option<EkPubKeyType>,
pub key_format: Option<EkPubKeyFormat>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The ID of the instance for which to get the public endorsement key.
key_type: Option<EkPubKeyType>
The required public endorsement key type.
key_format: Option<EkPubKeyFormat>
The required public endorsement key format. Specify der
for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.
dry_run: Option<bool>
Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is DryRunOperation
. Otherwise, the response is UnauthorizedOperation
.
Implementations§
source§impl GetInstanceTpmEkPubInput
impl GetInstanceTpmEkPubInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance for which to get the public endorsement key.
sourcepub fn key_type(&self) -> Option<&EkPubKeyType>
pub fn key_type(&self) -> Option<&EkPubKeyType>
The required public endorsement key type.
sourcepub fn key_format(&self) -> Option<&EkPubKeyFormat>
pub fn key_format(&self) -> Option<&EkPubKeyFormat>
The required public endorsement key format. Specify der
for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.
source§impl GetInstanceTpmEkPubInput
impl GetInstanceTpmEkPubInput
sourcepub fn builder() -> GetInstanceTpmEkPubInputBuilder
pub fn builder() -> GetInstanceTpmEkPubInputBuilder
Creates a new builder-style object to manufacture GetInstanceTpmEkPubInput
.
Trait Implementations§
source§impl Clone for GetInstanceTpmEkPubInput
impl Clone for GetInstanceTpmEkPubInput
source§fn clone(&self) -> GetInstanceTpmEkPubInput
fn clone(&self) -> GetInstanceTpmEkPubInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetInstanceTpmEkPubInput
impl Debug for GetInstanceTpmEkPubInput
source§impl PartialEq for GetInstanceTpmEkPubInput
impl PartialEq for GetInstanceTpmEkPubInput
source§fn eq(&self, other: &GetInstanceTpmEkPubInput) -> bool
fn eq(&self, other: &GetInstanceTpmEkPubInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetInstanceTpmEkPubInput
Auto Trait Implementations§
impl Freeze for GetInstanceTpmEkPubInput
impl RefUnwindSafe for GetInstanceTpmEkPubInput
impl Send for GetInstanceTpmEkPubInput
impl Sync for GetInstanceTpmEkPubInput
impl Unpin for GetInstanceTpmEkPubInput
impl UnwindSafe for GetInstanceTpmEkPubInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more