pub struct TrimKeyRequestBuilder { /* private fields */ }
Expand description
Builder for TrimKeyRequest
.
Implementations§
source§impl TrimKeyRequestBuilder
impl TrimKeyRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn min_available_version<VALUE: Into<u64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn min_available_version<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
The minimum available version for the key ring. All versions before this version will be permanently deleted. This value can at most be equal to the lesser of min_decryption_version and min_encryption_version. This is not allowed to be set when either min_encryption_version or min_decryption_version is set to zero.
sourcepub fn build(&self) -> Result<TrimKeyRequest, TrimKeyRequestBuilderError>
pub fn build(&self) -> Result<TrimKeyRequest, TrimKeyRequestBuilderError>
Trait Implementations§
source§impl Clone for TrimKeyRequestBuilder
impl Clone for TrimKeyRequestBuilder
source§fn clone(&self) -> TrimKeyRequestBuilder
fn clone(&self) -> TrimKeyRequestBuilder
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 TrimKeyRequestBuilder
impl RefUnwindSafe for TrimKeyRequestBuilder
impl Send for TrimKeyRequestBuilder
impl Sync for TrimKeyRequestBuilder
impl Unpin for TrimKeyRequestBuilder
impl UnwindSafe for TrimKeyRequestBuilder
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
)