pub struct HotpBuilder { /* private fields */ }Expand description
Builder for Hotp.
Implementations§
Source§impl HotpBuilder
impl HotpBuilder
Source§impl HotpBuilder
impl HotpBuilder
pub fn new() -> Self
pub fn base32_secret(&mut self, secret: &str) -> &mut Self
Trait Implementations§
Source§impl Clone for HotpBuilder
impl Clone for HotpBuilder
Source§fn clone(&self) -> HotpBuilder
fn clone(&self) -> HotpBuilder
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 HotpBuilder
impl RefUnwindSafe for HotpBuilder
impl Send for HotpBuilder
impl Sync for HotpBuilder
impl Unpin for HotpBuilder
impl UnwindSafe for HotpBuilder
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