pub struct RepoName(/* private fields */);
Expand description
Repository name identifier (e.g., “rust”).
This type ensures that repository names are validated and prevents confusion with other string types in the API.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoName
impl<'de> Deserialize<'de> for RepoName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RepoName
impl StructuralPartialEq for RepoName
Auto Trait Implementations§
impl Freeze for RepoName
impl RefUnwindSafe for RepoName
impl Send for RepoName
impl Sync for RepoName
impl Unpin for RepoName
impl UnwindSafe for RepoName
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