pub struct RepoSlug { /* private fields */ }Expand description
A validated repository identity: owner (user/org, or a GitLab nested
group/subgroup path) plus the repository name.
Construct only via resolve_github_slug_in, resolve_github_slug,
resolve_repo_slug_in, or resolve_repo_slug — the private fields make
ad-hoc construction (and thus a second, divergent derivation of the repo
identity) impossible outside this module.
Implementations§
Trait Implementations§
impl Eq for RepoSlug
impl StructuralPartialEq for RepoSlug
Auto Trait Implementations§
impl Freeze for RepoSlug
impl RefUnwindSafe for RepoSlug
impl Send for RepoSlug
impl Sync for RepoSlug
impl Unpin for RepoSlug
impl UnsafeUnpin for RepoSlug
impl UnwindSafe for RepoSlug
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§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.