pub struct RepositoryName(/* private fields */);Expand description
A validated repository name.
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryName
impl Clone for RepositoryName
Source§fn clone(&self) -> RepositoryName
fn clone(&self) -> RepositoryName
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 RepositoryName
impl Debug for RepositoryName
Source§impl Display for RepositoryName
impl Display for RepositoryName
Source§impl FromStr for RepositoryName
impl FromStr for RepositoryName
Source§impl Hash for RepositoryName
impl Hash for RepositoryName
Source§impl Ord for RepositoryName
impl Ord for RepositoryName
Source§fn cmp(&self, other: &RepositoryName) -> Ordering
fn cmp(&self, other: &RepositoryName) -> Ordering
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
Source§impl PartialEq for RepositoryName
impl PartialEq for RepositoryName
Source§fn eq(&self, other: &RepositoryName) -> bool
fn eq(&self, other: &RepositoryName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RepositoryName
impl PartialOrd for RepositoryName
impl Eq for RepositoryName
impl StructuralPartialEq for RepositoryName
Auto Trait Implementations§
impl Freeze for RepositoryName
impl RefUnwindSafe for RepositoryName
impl Send for RepositoryName
impl Sync for RepositoryName
impl Unpin for RepositoryName
impl UnsafeUnpin for RepositoryName
impl UnwindSafe for RepositoryName
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