pub struct StoreProductId(pub String);Expand description
Identifier referencing a product in the store catalog.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for StoreProductId
impl AsRef<str> for StoreProductId
Source§impl Clone for StoreProductId
impl Clone for StoreProductId
Source§fn clone(&self) -> StoreProductId
fn clone(&self) -> StoreProductId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreProductId
impl Debug for StoreProductId
Source§impl<'de> Deserialize<'de> for StoreProductId
impl<'de> Deserialize<'de> for StoreProductId
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 StoreProductId
impl Display for StoreProductId
Source§impl From<StoreProductId> for String
impl From<StoreProductId> for String
Source§fn from(value: StoreProductId) -> Self
fn from(value: StoreProductId) -> Self
Converts to this type from the input type.
Source§impl FromStr for StoreProductId
impl FromStr for StoreProductId
Source§impl Hash for StoreProductId
impl Hash for StoreProductId
Source§impl Ord for StoreProductId
impl Ord for StoreProductId
Source§fn cmp(&self, other: &StoreProductId) -> Ordering
fn cmp(&self, other: &StoreProductId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for StoreProductId
impl PartialEq for StoreProductId
Source§impl PartialOrd for StoreProductId
impl PartialOrd for StoreProductId
Source§impl Serialize for StoreProductId
impl Serialize for StoreProductId
Source§impl TryFrom<&str> for StoreProductId
impl TryFrom<&str> for StoreProductId
Source§impl TryFrom<String> for StoreProductId
impl TryFrom<String> for StoreProductId
impl Eq for StoreProductId
impl StructuralPartialEq for StoreProductId
Auto Trait Implementations§
impl Freeze for StoreProductId
impl RefUnwindSafe for StoreProductId
impl Send for StoreProductId
impl Sync for StoreProductId
impl Unpin for StoreProductId
impl UnwindSafe for StoreProductId
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
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§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.