pub struct DetResult {
pub xml: String,
pub icms_totals: IcmsTotals,
pub v_ipi: i64,
pub v_pis: i64,
pub v_cofins: i64,
pub v_ii: i64,
}Expand description
Result from building a single <det> element.
Fields§
§xml: StringThe serialised <det> XML string.
icms_totals: IcmsTotalsAccumulated ICMS totals contributed by this item.
v_ipi: i64IPI value in cents contributed by this item.
v_pis: i64PIS value in cents contributed by this item.
v_cofins: i64COFINS value in cents contributed by this item.
v_ii: i64II (import tax) value in cents contributed by this item.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DetResult
impl RefUnwindSafe for DetResult
impl Send for DetResult
impl Sync for DetResult
impl Unpin for DetResult
impl UnsafeUnpin for DetResult
impl UnwindSafe for DetResult
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