pub enum CreatorQuantity {
Quantity(u32),
Infinity,
}Variants§
Trait Implementations§
Source§impl Clone for CreatorQuantity
impl Clone for CreatorQuantity
Source§fn clone(&self) -> CreatorQuantity
fn clone(&self) -> CreatorQuantity
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 CreatorQuantity
impl Debug for CreatorQuantity
Source§impl<'de> Deserialize<'de> for CreatorQuantity
impl<'de> Deserialize<'de> for CreatorQuantity
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 Hash for CreatorQuantity
impl Hash for CreatorQuantity
Source§impl Ord for CreatorQuantity
impl Ord for CreatorQuantity
Source§fn cmp(&self, other: &CreatorQuantity) -> Ordering
fn cmp(&self, other: &CreatorQuantity) -> 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 CreatorQuantity
impl PartialEq for CreatorQuantity
Source§impl PartialOrd for CreatorQuantity
impl PartialOrd for CreatorQuantity
Source§impl Serialize for CreatorQuantity
impl Serialize for CreatorQuantity
impl Eq for CreatorQuantity
impl StructuralPartialEq for CreatorQuantity
Auto Trait Implementations§
impl Freeze for CreatorQuantity
impl RefUnwindSafe for CreatorQuantity
impl Send for CreatorQuantity
impl Sync for CreatorQuantity
impl Unpin for CreatorQuantity
impl UnsafeUnpin for CreatorQuantity
impl UnwindSafe for CreatorQuantity
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