#[non_exhaustive]pub struct Holder {
pub ns: NamespaceKey,
pub repo: RepoName,
}Expand description
A repository that holds an object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ns: NamespaceKeyNamespace.
repo: RepoNameRepository.
Implementations§
Trait Implementations§
impl Eq for Holder
Source§impl Ord for Holder
impl Ord for Holder
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Holder
impl PartialOrd for Holder
impl StructuralPartialEq for Holder
Auto Trait Implementations§
impl Freeze for Holder
impl RefUnwindSafe for Holder
impl Send for Holder
impl Sync for Holder
impl Unpin for Holder
impl UnsafeUnpin for Holder
impl UnwindSafe for Holder
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