#[non_exhaustive]pub struct ImportTr31KeyBlock {
pub wrapping_key_identifier: Option<String>,
pub wrapped_key_block: Option<String>,
}
Expand description
Parameter information for key material import using TR-31 standard.
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.wrapping_key_identifier: Option<String>
The KeyARN
of the key that will decrypt or unwrap a TR-31 key block during import.
wrapped_key_block: Option<String>
The TR-34 wrapped key block to import.
Implementations§
source§impl ImportTr31KeyBlock
impl ImportTr31KeyBlock
sourcepub fn wrapping_key_identifier(&self) -> Option<&str>
pub fn wrapping_key_identifier(&self) -> Option<&str>
The KeyARN
of the key that will decrypt or unwrap a TR-31 key block during import.
sourcepub fn wrapped_key_block(&self) -> Option<&str>
pub fn wrapped_key_block(&self) -> Option<&str>
The TR-34 wrapped key block to import.
source§impl ImportTr31KeyBlock
impl ImportTr31KeyBlock
sourcepub fn builder() -> ImportTr31KeyBlockBuilder
pub fn builder() -> ImportTr31KeyBlockBuilder
Creates a new builder-style object to manufacture ImportTr31KeyBlock
.
Trait Implementations§
source§impl Clone for ImportTr31KeyBlock
impl Clone for ImportTr31KeyBlock
source§fn clone(&self) -> ImportTr31KeyBlock
fn clone(&self) -> ImportTr31KeyBlock
Returns a copy 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 ImportTr31KeyBlock
impl Debug for ImportTr31KeyBlock
source§impl PartialEq for ImportTr31KeyBlock
impl PartialEq for ImportTr31KeyBlock
source§fn eq(&self, other: &ImportTr31KeyBlock) -> bool
fn eq(&self, other: &ImportTr31KeyBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportTr31KeyBlock
Auto Trait Implementations§
impl RefUnwindSafe for ImportTr31KeyBlock
impl Send for ImportTr31KeyBlock
impl Sync for ImportTr31KeyBlock
impl Unpin for ImportTr31KeyBlock
impl UnwindSafe for ImportTr31KeyBlock
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