pub struct InMemoryCredentials { /* private fields */ }Expand description
A static, in-memory credential store seeded at startup. Adequate for v1, where the real upstream credential (e.g. a GitHub App installation token) is provisioned out of band and handed to hackamore.
Implementations§
Trait Implementations§
Source§impl Default for InMemoryCredentials
impl Default for InMemoryCredentials
Source§fn default() -> InMemoryCredentials
fn default() -> InMemoryCredentials
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryCredentials
impl !RefUnwindSafe for InMemoryCredentials
impl Send for InMemoryCredentials
impl Sync for InMemoryCredentials
impl Unpin for InMemoryCredentials
impl UnsafeUnpin for InMemoryCredentials
impl UnwindSafe for InMemoryCredentials
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