pub struct MarketProductId(pub u32);
Expand description
Unique Market Product ID.
Uniquely identifies a product on the Hetzner (auction) market.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Clone for MarketProductId
impl Clone for MarketProductId
Source§fn clone(&self) -> MarketProductId
fn clone(&self) -> MarketProductId
Returns a copy 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 MarketProductId
impl Debug for MarketProductId
Source§impl<'de> Deserialize<'de> for MarketProductId
impl<'de> Deserialize<'de> for MarketProductId
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 MarketProductId
impl Display for MarketProductId
Source§impl From<MarketProductId> for u32
impl From<MarketProductId> for u32
Source§fn from(value: MarketProductId) -> Self
fn from(value: MarketProductId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for MarketProductId
impl From<u32> for MarketProductId
Source§impl Hash for MarketProductId
impl Hash for MarketProductId
Source§impl Ord for MarketProductId
impl Ord for MarketProductId
Source§fn cmp(&self, other: &MarketProductId) -> Ordering
fn cmp(&self, other: &MarketProductId) -> 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<u32> for MarketProductId
impl PartialEq<u32> for MarketProductId
Source§impl PartialEq for MarketProductId
impl PartialEq for MarketProductId
Source§impl PartialOrd for MarketProductId
impl PartialOrd for MarketProductId
Source§impl Serialize for MarketProductId
impl Serialize for MarketProductId
impl Copy for MarketProductId
impl Eq for MarketProductId
impl StructuralPartialEq for MarketProductId
Auto Trait Implementations§
impl Freeze for MarketProductId
impl RefUnwindSafe for MarketProductId
impl Send for MarketProductId
impl Sync for MarketProductId
impl Unpin for MarketProductId
impl UnwindSafe for MarketProductId
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.