pub enum MatchStatus {
NotMatched,
Matched,
MatchedWithVariance {
price_variance: Decimal,
quantity_variance: Decimal,
},
TwoWayMatched,
NotRequired,
}Expand description
Three-way match status.
Variants§
NotMatched
Not yet matched.
Matched
Fully matched (PO = GR = Invoice).
MatchedWithVariance
Matched with variance.
TwoWayMatched
Two-way match only (no GR required).
NotRequired
Match not required (e.g., expense invoice).
Trait Implementations§
Source§impl Clone for MatchStatus
impl Clone for MatchStatus
Source§fn clone(&self) -> MatchStatus
fn clone(&self) -> MatchStatus
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 MatchStatus
impl Debug for MatchStatus
Source§impl Default for MatchStatus
impl Default for MatchStatus
Source§fn default() -> MatchStatus
fn default() -> MatchStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatchStatus
impl<'de> Deserialize<'de> for MatchStatus
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
Auto Trait Implementations§
impl Freeze for MatchStatus
impl RefUnwindSafe for MatchStatus
impl Send for MatchStatus
impl Sync for MatchStatus
impl Unpin for MatchStatus
impl UnwindSafe for MatchStatus
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