pub struct ArtifactId(/* private fields */);Expand description
UUID of a TEA Artifact at one API base.
Implementations§
Source§impl ArtifactId
impl ArtifactId
Sourcepub fn parse(text: &str) -> Result<Self, ModelError>
pub fn parse(text: &str) -> Result<Self, ModelError>
Sourcepub fn from_tea_uuid(uuid: TeaUuid) -> Self
pub fn from_tea_uuid(uuid: TeaUuid) -> Self
Wrap an already validated UUID.
Sourcepub fn as_tea_uuid(&self) -> &TeaUuid
pub fn as_tea_uuid(&self) -> &TeaUuid
Borrow the inner UUID.
Trait Implementations§
Source§impl Clone for ArtifactId
impl Clone for ArtifactId
impl Copy for ArtifactId
Source§impl Debug for ArtifactId
impl Debug 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§impl Serialize for ArtifactId
impl Serialize for ArtifactId
impl StructuralPartialEq for ArtifactId
Auto Trait Implementations§
impl Forget for ArtifactId
impl Freeze for ArtifactId
impl Move 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