pub struct OwnerPromotionId(/* private fields */);Implementations§
Source§impl OwnerPromotionId
impl OwnerPromotionId
pub fn from_generated(value: String) -> Self
Trait Implementations§
Source§impl Clone for OwnerPromotionId
impl Clone for OwnerPromotionId
Source§fn clone(&self) -> OwnerPromotionId
fn clone(&self) -> OwnerPromotionId
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 OwnerPromotionId
impl Debug for OwnerPromotionId
Source§impl<'de> Deserialize<'de> for OwnerPromotionId
impl<'de> Deserialize<'de> for OwnerPromotionId
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 OwnerPromotionId
impl Display for OwnerPromotionId
Source§impl Hash for OwnerPromotionId
impl Hash for OwnerPromotionId
Source§impl Ord for OwnerPromotionId
impl Ord for OwnerPromotionId
Source§fn cmp(&self, other: &OwnerPromotionId) -> Ordering
fn cmp(&self, other: &OwnerPromotionId) -> 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 OwnerPromotionId
impl PartialEq for OwnerPromotionId
Source§impl PartialOrd for OwnerPromotionId
impl PartialOrd for OwnerPromotionId
Source§impl Serialize for OwnerPromotionId
impl Serialize for OwnerPromotionId
impl Copy for OwnerPromotionId
impl Eq for OwnerPromotionId
impl StructuralPartialEq for OwnerPromotionId
Auto Trait Implementations§
impl Freeze for OwnerPromotionId
impl RefUnwindSafe for OwnerPromotionId
impl Send for OwnerPromotionId
impl Sync for OwnerPromotionId
impl Unpin for OwnerPromotionId
impl UnsafeUnpin for OwnerPromotionId
impl UnwindSafe for OwnerPromotionId
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.