pub struct WorkflowConfig {
pub app_name: String,
pub sandbox_name: String,
pub business_criticality: BusinessCriticality,
pub app_description: Option<String>,
pub sandbox_description: Option<String>,
pub file_paths: Vec<String>,
pub auto_scan: bool,
pub scan_all_modules: bool,
}
Expand description
Configuration for the complete XML API workflow
Fields§
§app_name: String
Application name
sandbox_name: String
Sandbox name
business_criticality: BusinessCriticality
Business criticality for new applications
app_description: Option<String>
Application description (optional)
sandbox_description: Option<String>
Sandbox description (optional)
file_paths: Vec<String>
Files to upload
auto_scan: bool
Whether to start scan automatically after upload
scan_all_modules: bool
Whether to scan all modules
Implementations§
Source§impl WorkflowConfig
impl WorkflowConfig
Sourcepub fn with_business_criticality(self, criticality: BusinessCriticality) -> Self
pub fn with_business_criticality(self, criticality: BusinessCriticality) -> Self
Set business criticality
Sourcepub fn with_app_description(self, description: String) -> Self
pub fn with_app_description(self, description: String) -> Self
Set application description
Sourcepub fn with_sandbox_description(self, description: String) -> Self
pub fn with_sandbox_description(self, description: String) -> Self
Set sandbox description
Sourcepub fn with_files(self, file_paths: Vec<String>) -> Self
pub fn with_files(self, file_paths: Vec<String>) -> Self
Add multiple files to upload
Sourcepub fn with_auto_scan(self, auto_scan: bool) -> Self
pub fn with_auto_scan(self, auto_scan: bool) -> Self
Set auto-scan behavior
Sourcepub fn with_scan_all_modules(self, scan_all: bool) -> Self
pub fn with_scan_all_modules(self, scan_all: bool) -> Self
Set scan all modules behavior
Trait Implementations§
Source§impl Clone for WorkflowConfig
impl Clone for WorkflowConfig
Source§fn clone(&self) -> WorkflowConfig
fn clone(&self) -> WorkflowConfig
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 moreAuto Trait Implementations§
impl Freeze for WorkflowConfig
impl RefUnwindSafe for WorkflowConfig
impl Send for WorkflowConfig
impl Sync for WorkflowConfig
impl Unpin for WorkflowConfig
impl UnwindSafe for WorkflowConfig
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