pub struct SampledItem {
pub item_id: String,
pub amount: Decimal,
pub selection_type: SelectionType,
pub tested: bool,
pub misstatement_found: bool,
pub misstatement_amount: Option<Decimal>,
}Expand description
A single item selected into the audit sample (key item or representative).
Fields§
§item_id: StringReference ID — links to JE document_id, subledger record, etc.
amount: DecimalMonetary amount of the item.
selection_type: SelectionTypeHow the item was selected into the sample.
tested: boolWhether the auditor has completed testing on this item.
misstatement_found: boolWhether a misstatement was found during testing.
misstatement_amount: Option<Decimal>Monetary amount of any misstatement identified (None if none found).
Trait Implementations§
Source§impl Clone for SampledItem
impl Clone for SampledItem
Source§fn clone(&self) -> SampledItem
fn clone(&self) -> SampledItem
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 SampledItem
impl Debug for SampledItem
Source§impl<'de> Deserialize<'de> for SampledItem
impl<'de> Deserialize<'de> for SampledItem
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 SampledItem
impl RefUnwindSafe for SampledItem
impl Send for SampledItem
impl Sync for SampledItem
impl Unpin for SampledItem
impl UnsafeUnpin for SampledItem
impl UnwindSafe for SampledItem
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