pub struct SourcingProject {Show 16 fields
pub project_id: String,
pub project_name: String,
pub company_code: String,
pub project_type: SourcingProjectType,
pub status: SourcingProjectStatus,
pub category_id: String,
pub estimated_annual_spend: Decimal,
pub target_savings_pct: f64,
pub owner_id: String,
pub start_date: NaiveDate,
pub target_end_date: NaiveDate,
pub actual_end_date: Option<NaiveDate>,
pub spend_analysis_id: Option<String>,
pub rfx_ids: Vec<String>,
pub contract_id: Option<String>,
pub actual_savings_pct: Option<f64>,
}Expand description
A sourcing project tracking a procurement initiative.
Fields§
§project_id: StringUnique project identifier
project_name: StringProject name
company_code: StringCompany code
project_type: SourcingProjectTypeProject type
status: SourcingProjectStatusCurrent status
category_id: StringSpend category being sourced
estimated_annual_spend: DecimalEstimated annual spend
target_savings_pct: f64Target savings percentage
owner_id: StringProject owner (buyer/sourcing manager)
start_date: NaiveDateStart date
target_end_date: NaiveDateTarget completion date
actual_end_date: Option<NaiveDate>Actual completion date
spend_analysis_id: Option<String>Related spend analysis ID
rfx_ids: Vec<String>Related RFx event IDs
contract_id: Option<String>Awarded contract ID
actual_savings_pct: Option<f64>Actual savings achieved
Trait Implementations§
Source§impl Clone for SourcingProject
impl Clone for SourcingProject
Source§fn clone(&self) -> SourcingProject
fn clone(&self) -> SourcingProject
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 SourcingProject
impl Debug for SourcingProject
Source§impl<'de> Deserialize<'de> for SourcingProject
impl<'de> Deserialize<'de> for SourcingProject
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 SourcingProject
impl RefUnwindSafe for SourcingProject
impl Send for SourcingProject
impl Sync for SourcingProject
impl Unpin for SourcingProject
impl UnwindSafe for SourcingProject
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