pub struct DecryptDataRequestBuilder { /* private fields */ }
Expand description
Builder for DecryptDataRequest
.
Implementations§
source§impl DecryptDataRequestBuilder
impl DecryptDataRequestBuilder
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 decrypt 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 decrypt.
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 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<DecryptDataRequest, DecryptDataRequestBuilderError>
pub fn build( &self, ) -> Result<DecryptDataRequest, DecryptDataRequestBuilderError>
Trait Implementations§
source§impl Clone for DecryptDataRequestBuilder
impl Clone for DecryptDataRequestBuilder
source§fn clone(&self) -> DecryptDataRequestBuilder
fn clone(&self) -> DecryptDataRequestBuilder
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 DecryptDataRequestBuilder
impl RefUnwindSafe for DecryptDataRequestBuilder
impl Send for DecryptDataRequestBuilder
impl Sync for DecryptDataRequestBuilder
impl Unpin for DecryptDataRequestBuilder
impl UnwindSafe for DecryptDataRequestBuilder
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
)