#[non_exhaustive]pub enum Group {
Show 13 variants
Document,
Seller,
Buyer,
Payee,
TaxRepresentative,
Delivery,
Payment,
DocumentAllowance,
DocumentCharge,
Totals,
TaxBreakdown,
Attachment,
Line,
}Expand description
Repeating or distinguishable groups. Index in Path is 0-based;
BG-25[2]/BT-151 is the third line.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Document
Invoice root; no BG number.
Seller
Seller (BG-4).
Buyer
Buyer (BG-7).
Payee
Payee (BG-10).
TaxRepresentative
Seller tax representative (BG-11).
Delivery
Delivery (BG-13).
Payment
Payment instructions (BG-16).
DocumentAllowance
Document level allowance (BG-20).
DocumentCharge
Document level charge (BG-21).
Totals
Document totals (BG-22).
TaxBreakdown
Tax breakdown (BG-23 / IBG-23), not VAT-only.
Attachment
Additional supporting document (BG-24).
Line
Invoice line (BG-25).
Implementations§
Trait Implementations§
impl Copy for Group
impl Eq for Group
Source§impl Ord for Group
impl Ord for Group
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Group
impl PartialOrd for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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