pub struct CompatStore {
pub users: UserStore,
pub tokens: TokenStore,
pub ssh_keys: SshKeyStore,
pub releases: ReleaseStore,
pub rate_limiter: RateLimiter,
}Expand description
Compatibility layer data store.
Fields§
§users: UserStoreUser storage.
tokens: TokenStoreToken storage.
ssh_keys: SshKeyStoreSSH key storage.
releases: ReleaseStoreRelease storage.
rate_limiter: RateLimiterRate limiter.
Implementations§
Source§impl CompatStore
impl CompatStore
Sourcepub fn stats(&self) -> CompatStats
pub fn stats(&self) -> CompatStats
Get statistics about stored data.
Trait Implementations§
Source§impl Clone for CompatStore
impl Clone for CompatStore
Source§fn clone(&self) -> CompatStore
fn clone(&self) -> CompatStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompatStore
impl Debug for CompatStore
Auto Trait Implementations§
impl !RefUnwindSafe for CompatStore
impl !UnwindSafe for CompatStore
impl Freeze for CompatStore
impl Send for CompatStore
impl Sync for CompatStore
impl Unpin for CompatStore
impl UnsafeUnpin for CompatStore
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