pub struct ApiKeyGenerator { /* private fields */ }Expand description
API Key generator
Implementations§
Source§impl ApiKeyGenerator
impl ApiKeyGenerator
Sourcepub fn with_prefix(prefix: &str) -> Self
pub fn with_prefix(prefix: &str) -> Self
Create generator with custom prefix
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiKeyGenerator
impl RefUnwindSafe for ApiKeyGenerator
impl Send for ApiKeyGenerator
impl Sync for ApiKeyGenerator
impl Unpin for ApiKeyGenerator
impl UnwindSafe for ApiKeyGenerator
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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