pub struct PoolKey {
pub url: String,
pub auth_hash: u64,
pub tenant_id: Option<String>,
}Expand description
Key for connection pool entries (URL + auth hash + tenant ID).
Credentials are hashed, not stored as plaintext.
Fields§
§url: String§auth_hash: u64§tenant_id: Option<String>Implementations§
Trait Implementations§
impl Eq for PoolKey
impl StructuralPartialEq for PoolKey
Auto Trait Implementations§
impl Freeze for PoolKey
impl RefUnwindSafe for PoolKey
impl Send for PoolKey
impl Sync for PoolKey
impl Unpin for PoolKey
impl UnsafeUnpin for PoolKey
impl UnwindSafe for PoolKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.