pub struct ArtifactId(pub [u8; 16]);Expand description
Artifact ID: immutable 128-bit random identifier
Tuple Fields§
§0: [u8; 16]Implementations§
Trait Implementations§
Source§impl Clone for ArtifactId
impl Clone for ArtifactId
Source§fn clone(&self) -> ArtifactId
fn clone(&self) -> ArtifactId
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 moreimpl Copy for ArtifactId
Source§impl Debug for ArtifactId
impl Debug for ArtifactId
Source§impl Default for ArtifactId
impl Default for ArtifactId
Source§impl<'de> Deserialize<'de> for ArtifactId
impl<'de> Deserialize<'de> for ArtifactId
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 ArtifactId
impl Display for ArtifactId
impl Eq for ArtifactId
Source§impl Hash for ArtifactId
impl Hash for ArtifactId
Source§impl PartialEq for ArtifactId
impl PartialEq for ArtifactId
Source§fn eq(&self, other: &ArtifactId) -> bool
fn eq(&self, other: &ArtifactId) -> bool
Tests for
self and other values to be equal, and is used by ==.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