pub struct VendorDependency {
pub vendor_id: String,
pub is_single_source: bool,
pub substitutability: Substitutability,
pub concentration_percent: f64,
pub spend_category: String,
pub alternatives: Vec<String>,
pub last_review_date: Option<NaiveDate>,
}Expand description
Vendor dependency tracking for concentration analysis.
Fields§
§vendor_id: StringVendor ID
is_single_source: boolIs this a single-source vendor?
substitutability: SubstitutabilityHow easily can this vendor be replaced?
concentration_percent: f64Concentration percentage (spend with this vendor / total category spend)
spend_category: StringCategory of spend
alternatives: Vec<String>Alternative vendors if available
last_review_date: Option<NaiveDate>Last review date
Implementations§
Trait Implementations§
Source§impl Clone for VendorDependency
impl Clone for VendorDependency
Source§fn clone(&self) -> VendorDependency
fn clone(&self) -> VendorDependency
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 VendorDependency
impl Debug for VendorDependency
Source§impl<'de> Deserialize<'de> for VendorDependency
impl<'de> Deserialize<'de> for VendorDependency
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 VendorDependency
impl RefUnwindSafe for VendorDependency
impl Send for VendorDependency
impl Sync for VendorDependency
impl Unpin for VendorDependency
impl UnwindSafe for VendorDependency
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