pub struct HashDataRequestBuilder { /* private fields */ }
Expand description
Builder for HashDataRequest
.
Implementations§
source§impl HashDataRequestBuilder
impl HashDataRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn algorithm<VALUE: Into<HashAlgorithm>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn algorithm<VALUE: Into<HashAlgorithm>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the hash algorithm to use.
sourcepub fn input<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn input<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the base64 encoded input data.
sourcepub fn format<VALUE: Into<OutputFormat>>(&mut self, value: VALUE) -> &mut Self
pub fn format<VALUE: Into<OutputFormat>>(&mut self, value: VALUE) -> &mut Self
Specifies the output encoding.
sourcepub fn build(&self) -> Result<HashDataRequest, HashDataRequestBuilderError>
pub fn build(&self) -> Result<HashDataRequest, HashDataRequestBuilderError>
Trait Implementations§
source§impl Clone for HashDataRequestBuilder
impl Clone for HashDataRequestBuilder
source§fn clone(&self) -> HashDataRequestBuilder
fn clone(&self) -> HashDataRequestBuilder
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 HashDataRequestBuilder
impl RefUnwindSafe for HashDataRequestBuilder
impl Send for HashDataRequestBuilder
impl Sync for HashDataRequestBuilder
impl Unpin for HashDataRequestBuilder
impl UnwindSafe for HashDataRequestBuilder
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
)