pub struct PortfolioConfig {
pub engagements: Vec<EngagementSpec>,
pub shared_resources: ResourcePool,
pub correlation: CorrelationConfig,
}Expand description
Top-level configuration for a portfolio simulation run.
Fields§
§engagements: Vec<EngagementSpec>Specifications for each engagement to simulate.
Shared resource pool across all engagements.
correlation: CorrelationConfigCorrelation settings for cross-engagement finding propagation.
Trait Implementations§
Source§impl Clone for PortfolioConfig
impl Clone for PortfolioConfig
Source§fn clone(&self) -> PortfolioConfig
fn clone(&self) -> PortfolioConfig
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 PortfolioConfig
impl Debug for PortfolioConfig
Source§impl<'de> Deserialize<'de> for PortfolioConfig
impl<'de> Deserialize<'de> for PortfolioConfig
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 PortfolioConfig
impl RefUnwindSafe for PortfolioConfig
impl Send for PortfolioConfig
impl Sync for PortfolioConfig
impl Unpin for PortfolioConfig
impl UnsafeUnpin for PortfolioConfig
impl UnwindSafe for PortfolioConfig
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