Struct beancount_parser_lima::types::AmountWithTolerance
source · pub struct AmountWithTolerance<'a> { /* private fields */ }Expand description
An Amount with optional tolerance.
Implementations§
Trait Implementations§
source§impl<'a> Clone for AmountWithTolerance<'a>
impl<'a> Clone for AmountWithTolerance<'a>
source§fn clone(&self) -> AmountWithTolerance<'a>
fn clone(&self) -> AmountWithTolerance<'a>
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<'a> Debug for AmountWithTolerance<'a>
impl<'a> Debug for AmountWithTolerance<'a>
source§impl<'a> Display for AmountWithTolerance<'a>
impl<'a> Display for AmountWithTolerance<'a>
source§impl<'a> PartialEq for AmountWithTolerance<'a>
impl<'a> PartialEq for AmountWithTolerance<'a>
source§fn eq(&self, other: &AmountWithTolerance<'a>) -> bool
fn eq(&self, other: &AmountWithTolerance<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for AmountWithTolerance<'a>
impl<'a> StructuralPartialEq for AmountWithTolerance<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AmountWithTolerance<'a>
impl<'a> Send for AmountWithTolerance<'a>
impl<'a> Sync for AmountWithTolerance<'a>
impl<'a> Unpin for AmountWithTolerance<'a>
impl<'a> UnwindSafe for AmountWithTolerance<'a>
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
§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