pub struct RewrapDataRequestBuilder { /* private fields */ }
Expand description
Builder for RewrapDataRequest
.
Implementations§
source§impl RewrapDataRequestBuilder
impl RewrapDataRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the name of the encryption key to re-encrypt against.
sourcepub fn ciphertext<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn ciphertext<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the ciphertext to re-encrypt.
sourcepub fn context<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn context<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the base64 encoded context for key derivation. This is required if key derivation is enabled.
sourcepub fn key_version<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn key_version<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
Specifies the version of the key to use for the operation. If not set, uses the latest version. Must be greater than or equal to the key’s min_encryption_version, if set.
sourcepub fn nonce<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn nonce<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies a base64 encoded nonce value used during encryption. Must be provided if convergent encryption is enabled for this key and the key was generated with Vault 0.6.1. Not required for keys created in 0.6.2+.
sourcepub fn build(&self) -> Result<RewrapDataRequest, RewrapDataRequestBuilderError>
pub fn build(&self) -> Result<RewrapDataRequest, RewrapDataRequestBuilderError>
Trait Implementations§
source§impl Clone for RewrapDataRequestBuilder
impl Clone for RewrapDataRequestBuilder
source§fn clone(&self) -> RewrapDataRequestBuilder
fn clone(&self) -> RewrapDataRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for RewrapDataRequestBuilder
impl RefUnwindSafe for RewrapDataRequestBuilder
impl Send for RewrapDataRequestBuilder
impl Sync for RewrapDataRequestBuilder
impl Unpin for RewrapDataRequestBuilder
impl UnwindSafe for RewrapDataRequestBuilder
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> 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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)