pub struct ApiKeyStore { /* private fields */ }Expand description
In-memory API key store for development and testing.
Implementations§
Source§impl ApiKeyStore
impl ApiKeyStore
Sourcepub async fn remove_key(&self, raw_key: &str) -> bool
pub async fn remove_key(&self, raw_key: &str) -> bool
Removes an API key from the store.
Trait Implementations§
Source§impl Debug for ApiKeyStore
impl Debug for ApiKeyStore
Source§impl Default for ApiKeyStore
impl Default for ApiKeyStore
Source§fn default() -> ApiKeyStore
fn default() -> ApiKeyStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApiKeyStore
impl !RefUnwindSafe for ApiKeyStore
impl Send for ApiKeyStore
impl Sync for ApiKeyStore
impl Unpin for ApiKeyStore
impl UnsafeUnpin for ApiKeyStore
impl !UnwindSafe for ApiKeyStore
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