#[non_exhaustive]pub struct HMacInputBuilder { /* private fields */ }Expand description
A builder for HMacInput.
Implementations§
Source§impl HMacInputBuilder
impl HMacInputBuilder
pub fn digest_algorithm(self, input: impl Into<DigestAlgorithm>) -> Self
pub fn set_digest_algorithm(self, input: Option<DigestAlgorithm>) -> Self
pub fn get_digest_algorithm(&self) -> &Option<DigestAlgorithm>
pub fn key(self, input: impl Into<Blob>) -> Self
pub fn set_key(self, input: Option<Blob>) -> Self
pub fn get_key(&self) -> &Option<Blob>
pub fn message(self, input: impl Into<Blob>) -> Self
pub fn set_message(self, input: Option<Blob>) -> Self
pub fn get_message(&self) -> &Option<Blob>
Trait Implementations§
Source§impl Clone for HMacInputBuilder
impl Clone for HMacInputBuilder
Source§fn clone(&self) -> HMacInputBuilder
fn clone(&self) -> HMacInputBuilder
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 moreSource§impl Debug for HMacInputBuilder
impl Debug for HMacInputBuilder
Source§impl Default for HMacInputBuilder
impl Default for HMacInputBuilder
Source§fn default() -> HMacInputBuilder
fn default() -> HMacInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for HMacInputBuilder
impl PartialEq for HMacInputBuilder
impl StructuralPartialEq for HMacInputBuilder
Auto Trait Implementations§
impl Freeze for HMacInputBuilder
impl RefUnwindSafe for HMacInputBuilder
impl Send for HMacInputBuilder
impl Sync for HMacInputBuilder
impl Unpin for HMacInputBuilder
impl UnwindSafe for HMacInputBuilder
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.