pub struct AuditScope {
pub id: String,
pub engagement_id: String,
pub entity_code: String,
pub scope_areas: Vec<String>,
pub materiality: Decimal,
}Expand description
Minimal audit scope record describing what the engagement covers.
Fields§
§id: StringUnique scope identifier (e.g. “SCOPE-AUD-2025-001-C001”).
engagement_id: StringEngagement this scope belongs to (FK → AuditEngagement.engagement_id).
entity_code: StringEntity / company code in scope.
scope_areas: Vec<String>Financial statement areas / audit focus areas covered by this scope.
materiality: DecimalPlanning materiality threshold applicable to this scope.
Implementations§
Source§impl AuditScope
impl AuditScope
Sourcepub const DEFAULT_SCOPE_AREAS: &'static [&'static str]
pub const DEFAULT_SCOPE_AREAS: &'static [&'static str]
Standard scope areas used when no specific areas are configured.
Trait Implementations§
Source§impl Clone for AuditScope
impl Clone for AuditScope
Source§fn clone(&self) -> AuditScope
fn clone(&self) -> AuditScope
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 AuditScope
impl Debug for AuditScope
Source§impl<'de> Deserialize<'de> for AuditScope
impl<'de> Deserialize<'de> for AuditScope
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 AuditScope
impl RefUnwindSafe for AuditScope
impl Send for AuditScope
impl Sync for AuditScope
impl Unpin for AuditScope
impl UnsafeUnpin for AuditScope
impl UnwindSafe for AuditScope
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