pub struct RestoreKeyRequestBuilder { /* private fields */ }
Expand description
Builder for RestoreKeyRequest
.
Implementations§
source§impl RestoreKeyRequestBuilder
impl RestoreKeyRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn backup<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn backup<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Backed up key data to be restored. This should be the output from the /backup endpoint.
sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
If set, this will be the name of the restored key.
sourcepub fn force<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn force<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If set, force the restore to proceed even if a key by this name already exists.
sourcepub fn build(&self) -> Result<RestoreKeyRequest, RestoreKeyRequestBuilderError>
pub fn build(&self) -> Result<RestoreKeyRequest, RestoreKeyRequestBuilderError>
Trait Implementations§
source§impl Clone for RestoreKeyRequestBuilder
impl Clone for RestoreKeyRequestBuilder
source§fn clone(&self) -> RestoreKeyRequestBuilder
fn clone(&self) -> RestoreKeyRequestBuilder
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 RestoreKeyRequestBuilder
impl RefUnwindSafe for RestoreKeyRequestBuilder
impl Send for RestoreKeyRequestBuilder
impl Sync for RestoreKeyRequestBuilder
impl Unpin for RestoreKeyRequestBuilder
impl UnwindSafe for RestoreKeyRequestBuilder
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
)