pub struct RepositoryIndentifier<'a>(/* private fields */);
Expand description
Represents a repository identifier containing the URL to search in.
Trait Implementations§
Source§impl<'a> Debug for RepositoryIndentifier<'a>
impl<'a> Debug for RepositoryIndentifier<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for RepositoryIndentifier<'a>
impl<'de: 'a, 'a> Deserialize<'de> for RepositoryIndentifier<'a>
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
Source§impl Display for RepositoryIndentifier<'_>
impl Display for RepositoryIndentifier<'_>
Source§fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the RepositoryIndentifier
as a string.
§Example
use kmmp_structure::gradle::RepositoryIndentifier;
let repository = RepositoryIndentifier::new("https://example.com/maven");
assert_eq!(repository.to_string(), "maven(\"https://example.com/maven\")");
Source§impl<'a> From<&'a str> for RepositoryIndentifier<'a>
impl<'a> From<&'a str> for RepositoryIndentifier<'a>
Source§impl<'a> PartialEq for RepositoryIndentifier<'a>
impl<'a> PartialEq for RepositoryIndentifier<'a>
Source§fn eq(&self, other: &RepositoryIndentifier<'a>) -> bool
fn eq(&self, other: &RepositoryIndentifier<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<'a> PartialOrd for RepositoryIndentifier<'a>
impl<'a> PartialOrd for RepositoryIndentifier<'a>
Source§impl<'a> Serialize for RepositoryIndentifier<'a>
impl<'a> Serialize for RepositoryIndentifier<'a>
impl<'a> StructuralPartialEq for RepositoryIndentifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for RepositoryIndentifier<'a>
impl<'a> RefUnwindSafe for RepositoryIndentifier<'a>
impl<'a> Send for RepositoryIndentifier<'a>
impl<'a> Sync for RepositoryIndentifier<'a>
impl<'a> Unpin for RepositoryIndentifier<'a>
impl<'a> UnwindSafe for RepositoryIndentifier<'a>
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