pub struct Percentage1000(pub u32);Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for Percentage1000
impl Clone for Percentage1000
Source§fn clone(&self) -> Percentage1000
fn clone(&self) -> Percentage1000
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 Percentage1000
impl Debug for Percentage1000
Source§impl Default for Percentage1000
impl Default for Percentage1000
Source§fn default() -> Percentage1000
fn default() -> Percentage1000
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Percentage1000
impl<'de> Deserialize<'de> for Percentage1000
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 Percentage1000
impl Display for Percentage1000
Source§impl From<Percentage> for Percentage1000
impl From<Percentage> for Percentage1000
Source§fn from(p: Percentage) -> Self
fn from(p: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<Percentage1000> for Percentage
impl From<Percentage1000> for Percentage
Source§fn from(p: Percentage1000) -> Self
fn from(p: Percentage1000) -> Self
Converts to this type from the input type.
Source§impl Hash for Percentage1000
impl Hash for Percentage1000
Source§impl Ord for Percentage1000
impl Ord for Percentage1000
Source§fn cmp(&self, other: &Percentage1000) -> Ordering
fn cmp(&self, other: &Percentage1000) -> 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 Percentage1000
impl PartialEq for Percentage1000
Source§impl PartialOrd for Percentage1000
impl PartialOrd for Percentage1000
Source§impl Serialize for Percentage1000
impl Serialize for Percentage1000
impl Copy for Percentage1000
impl Eq for Percentage1000
impl StructuralPartialEq for Percentage1000
Auto Trait Implementations§
impl Freeze for Percentage1000
impl RefUnwindSafe for Percentage1000
impl Send for Percentage1000
impl Sync for Percentage1000
impl Unpin for Percentage1000
impl UnwindSafe for Percentage1000
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