#[non_exhaustive]pub struct ImportTr31KeyBlock {
pub wrapping_key_identifier: String,
pub wrapped_key_block: String,
}Expand description
Parameter information for key material import using symmetric TR-31 key exchange method.
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: StringThe KeyARN of the key that will decrypt or unwrap a TR-31 key block during import.
wrapped_key_block: StringThe TR-31 wrapped key block to import.
Implementations§
source§impl ImportTr31KeyBlock
impl ImportTr31KeyBlock
sourcepub fn wrapping_key_identifier(&self) -> &str
pub fn wrapping_key_identifier(&self) -> &str
The KeyARN of the key that will decrypt or unwrap a TR-31 key block during import.
sourcepub fn wrapped_key_block(&self) -> &str
pub fn wrapped_key_block(&self) -> &str
The TR-31 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 Freeze for ImportTr31KeyBlock
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
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>
Creates a shared type from an unshared type.