pub struct SetKeyRequestBuilder { /* private fields */ }Expand description
Builder for SetKeyRequest.
Implementations§
Source§impl SetKeyRequestBuilder
impl SetKeyRequestBuilder
pub fn features<VALUE: Into<Features>>(&mut self, value: VALUE) -> &mut Self
pub fn key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<Vec<u8>>>(&mut self, value: VALUE) -> &mut Self
pub fn acquire<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn cas<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn dc<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn flags<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn ns<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn release<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<SetKeyRequest, SetKeyRequestBuilderError>
pub fn build(&self) -> Result<SetKeyRequest, SetKeyRequestBuilderError>
Trait Implementations§
Source§impl Clone for SetKeyRequestBuilder
impl Clone for SetKeyRequestBuilder
Source§fn clone(&self) -> SetKeyRequestBuilder
fn clone(&self) -> SetKeyRequestBuilder
Returns a duplicate 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 SetKeyRequestBuilder
impl RefUnwindSafe for SetKeyRequestBuilder
impl Send for SetKeyRequestBuilder
impl Sync for SetKeyRequestBuilder
impl Unpin for SetKeyRequestBuilder
impl UnwindSafe for SetKeyRequestBuilder
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