pub struct RepositoryScopeCacheKey { /* private fields */ }Expand description
Repository scope material embedded into a cache key.
Implementations§
Source§impl RepositoryScopeCacheKey
impl RepositoryScopeCacheKey
Sourcepub fn from_scope(scope: &RepositoryScope) -> Self
pub fn from_scope(scope: &RepositoryScope) -> Self
Creates a repository scope cache key from a protocol scope.
Trait Implementations§
Source§impl Clone for RepositoryScopeCacheKey
impl Clone for RepositoryScopeCacheKey
Source§fn clone(&self) -> RepositoryScopeCacheKey
fn clone(&self) -> RepositoryScopeCacheKey
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 RepositoryScopeCacheKey
impl Debug for RepositoryScopeCacheKey
impl Eq for RepositoryScopeCacheKey
Source§impl Hash for RepositoryScopeCacheKey
impl Hash for RepositoryScopeCacheKey
Source§impl PartialEq for RepositoryScopeCacheKey
impl PartialEq for RepositoryScopeCacheKey
Source§fn eq(&self, other: &RepositoryScopeCacheKey) -> bool
fn eq(&self, other: &RepositoryScopeCacheKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepositoryScopeCacheKey
Auto Trait Implementations§
impl Freeze for RepositoryScopeCacheKey
impl RefUnwindSafe for RepositoryScopeCacheKey
impl Send for RepositoryScopeCacheKey
impl Sync for RepositoryScopeCacheKey
impl Unpin for RepositoryScopeCacheKey
impl UnsafeUnpin for RepositoryScopeCacheKey
impl UnwindSafe for RepositoryScopeCacheKey
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