Struct aws_sdk_cloudhsmv2::types::Hsm
source · #[non_exhaustive]pub struct Hsm {
pub availability_zone: Option<String>,
pub cluster_id: Option<String>,
pub subnet_id: Option<String>,
pub eni_id: Option<String>,
pub eni_ip: Option<String>,
pub hsm_id: String,
pub state: Option<HsmState>,
pub state_message: Option<String>,
}Expand description
Contains information about a hardware security module (HSM) in an CloudHSM cluster.
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.availability_zone: Option<String>The Availability Zone that contains the HSM.
cluster_id: Option<String>The identifier (ID) of the cluster that contains the HSM.
subnet_id: Option<String>The subnet that contains the HSM's elastic network interface (ENI).
eni_id: Option<String>The identifier (ID) of the HSM's elastic network interface (ENI).
eni_ip: Option<String>The IP address of the HSM's elastic network interface (ENI).
hsm_id: StringThe HSM's identifier (ID).
state: Option<HsmState>The HSM's state.
state_message: Option<String>A description of the HSM's state.
Implementations§
source§impl Hsm
impl Hsm
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone that contains the HSM.
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The identifier (ID) of the cluster that contains the HSM.
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The subnet that contains the HSM's elastic network interface (ENI).
sourcepub fn eni_id(&self) -> Option<&str>
pub fn eni_id(&self) -> Option<&str>
The identifier (ID) of the HSM's elastic network interface (ENI).
sourcepub fn eni_ip(&self) -> Option<&str>
pub fn eni_ip(&self) -> Option<&str>
The IP address of the HSM's elastic network interface (ENI).
sourcepub fn state_message(&self) -> Option<&str>
pub fn state_message(&self) -> Option<&str>
A description of the HSM's state.
Trait Implementations§
impl StructuralPartialEq for Hsm
Auto Trait Implementations§
impl Freeze for Hsm
impl RefUnwindSafe for Hsm
impl Send for Hsm
impl Sync for Hsm
impl Unpin for Hsm
impl UnwindSafe for Hsm
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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