Struct sep2_common::packages::types::SignedPercent
source · pub struct SignedPercent(/* private fields */);
Expand description
Used for signed percentages, specified in hundredths of a percent, −10 000 to 10 000. (10 000 = 100%)
Implementations§
Trait Implementations§
source§impl Clone for SignedPercent
impl Clone for SignedPercent
source§fn clone(&self) -> SignedPercent
fn clone(&self) -> SignedPercent
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 SignedPercent
impl Debug for SignedPercent
source§impl Default for SignedPercent
impl Default for SignedPercent
source§fn default() -> SignedPercent
fn default() -> SignedPercent
Returns the “default value” for a type. Read more
source§impl Display for SignedPercent
impl Display for SignedPercent
source§impl FromStr for SignedPercent
impl FromStr for SignedPercent
source§impl PartialEq<SignedPercent> for SignedPercent
impl PartialEq<SignedPercent> for SignedPercent
source§fn eq(&self, other: &SignedPercent) -> bool
fn eq(&self, other: &SignedPercent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for SignedPercent
impl YaDeserialize for SignedPercent
source§impl YaSerialize for SignedPercent
impl YaSerialize for SignedPercent
impl Copy for SignedPercent
impl Eq for SignedPercent
impl StructuralEq for SignedPercent
impl StructuralPartialEq for SignedPercent
Auto Trait Implementations§
impl RefUnwindSafe for SignedPercent
impl Send for SignedPercent
impl Sync for SignedPercent
impl Unpin for SignedPercent
impl UnwindSafe for SignedPercent
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