pub struct ProductId(/* private fields */);Expand description
UUID of a TEA Product at one API base.
Implementations§
Source§impl ProductId
impl ProductId
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§
impl Copy for ProductId
Source§impl<'de> Deserialize<'de> for ProductId
impl<'de> Deserialize<'de> for ProductId
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 ProductId
impl StructuralPartialEq for ProductId
Auto Trait Implementations§
impl Forget for ProductId
impl Freeze for ProductId
impl Move for ProductId
impl RefUnwindSafe for ProductId
impl Send for ProductId
impl Sync for ProductId
impl Unpin for ProductId
impl UnsafeUnpin for ProductId
impl UnwindSafe for ProductId
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