#[non_exhaustive]pub struct DigestOutputBuilder { /* private fields */ }Expand description
A builder for DigestOutput.
Implementations§
Source§impl DigestOutputBuilder
impl DigestOutputBuilder
pub fn digest(self, input: impl Into<Blob>) -> Self
pub fn set_digest(self, input: Option<Blob>) -> Self
pub fn get_digest(&self) -> &Option<Blob>
Sourcepub fn build(self) -> Result<DigestOutput, BuildError>
pub fn build(self) -> Result<DigestOutput, BuildError>
Consumes the builder and constructs a DigestOutput.
Trait Implementations§
Source§impl Clone for DigestOutputBuilder
impl Clone for DigestOutputBuilder
Source§fn clone(&self) -> DigestOutputBuilder
fn clone(&self) -> DigestOutputBuilder
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 DigestOutputBuilder
impl Debug for DigestOutputBuilder
Source§impl Default for DigestOutputBuilder
impl Default for DigestOutputBuilder
Source§fn default() -> DigestOutputBuilder
fn default() -> DigestOutputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for DigestOutputBuilder
impl PartialEq for DigestOutputBuilder
impl StructuralPartialEq for DigestOutputBuilder
Auto Trait Implementations§
impl Freeze for DigestOutputBuilder
impl RefUnwindSafe for DigestOutputBuilder
impl Send for DigestOutputBuilder
impl Sync for DigestOutputBuilder
impl Unpin for DigestOutputBuilder
impl UnwindSafe for DigestOutputBuilder
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.