pub struct ArtifactId(/* private fields */);Expand description
An Artifact’s ID: [A-Za-z0-9][A-Za-z0-9_-]{0,63}, so it can never smuggle a path
separator, a dot component, or control text into a scope key or a tool result.
Implementations§
Trait Implementations§
Source§impl Borrow<str> for ArtifactId
Lets scope maps be looked up by a borrowed name; the derived order matches str’s.
impl Borrow<str> for ArtifactId
Lets scope maps be looked up by a borrowed name; the derived order matches str’s.
Source§impl Clone for ArtifactId
impl Clone for ArtifactId
Source§impl Debug for ArtifactId
impl Debug for ArtifactId
Source§impl Display for ArtifactId
impl Display for ArtifactId
impl Eq for ArtifactId
Source§impl Hash for ArtifactId
impl Hash for ArtifactId
Source§impl Ord for ArtifactId
impl Ord for ArtifactId
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 PartialEq for ArtifactId
impl PartialEq for ArtifactId
Source§impl PartialEq<&str> for ArtifactId
impl PartialEq<&str> for ArtifactId
Source§impl PartialEq<String> for ArtifactId
impl PartialEq<String> for ArtifactId
Source§impl PartialEq<str> for ArtifactId
impl PartialEq<str> for ArtifactId
Source§impl PartialOrd for ArtifactId
impl PartialOrd for ArtifactId
Source§impl Serialize for ArtifactId
impl Serialize for ArtifactId
impl StructuralPartialEq for ArtifactId
Auto Trait Implementations§
impl Freeze for ArtifactId
impl RefUnwindSafe for ArtifactId
impl Send for ArtifactId
impl Sync for ArtifactId
impl Unpin for ArtifactId
impl UnsafeUnpin for ArtifactId
impl UnwindSafe for ArtifactId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.