pub struct TestUploaderConfig {Show 14 fields
pub endpoint: String,
pub api_key: Option<String>,
pub format: UploadFormat,
pub git_commit: Option<String>,
pub git_branch: Option<String>,
pub git_commit_timestamp: Option<String>,
pub environment: Option<String>,
pub test_type: Option<String>,
pub compression_level: u32,
pub upload_timeout_secs: u64,
pub max_retry_attempts: u32,
pub retry_delay_ms: u64,
pub anonymize_paths: bool,
pub project_root: Option<String>,
}Fields§
§endpoint: String§api_key: Option<String>§format: UploadFormat§git_commit: Option<String>§git_branch: Option<String>§git_commit_timestamp: Option<String>§environment: Option<String>§test_type: Option<String>§compression_level: u32§upload_timeout_secs: u64§max_retry_attempts: u32§retry_delay_ms: u64§anonymize_paths: bool§project_root: Option<String>Implementations§
Source§impl TestUploaderConfig
impl TestUploaderConfig
pub fn from_env_and_args( endpoint: Option<String>, api_key: Option<String>, format: Option<String>, git_commit: Option<String>, git_branch: Option<String>, git_commit_timestamp: Option<String>, environment: Option<String>, test_type: Option<String>, compression_level: Option<u32>, ) -> Self
Sourcepub fn get_project_root(&self) -> String
pub fn get_project_root(&self) -> String
Get the project root, using provided value or auto-detecting
Trait Implementations§
Source§impl Clone for TestUploaderConfig
impl Clone for TestUploaderConfig
Source§fn clone(&self) -> TestUploaderConfig
fn clone(&self) -> TestUploaderConfig
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 TestUploaderConfig
impl Debug for TestUploaderConfig
Auto Trait Implementations§
impl Freeze for TestUploaderConfig
impl RefUnwindSafe for TestUploaderConfig
impl Send for TestUploaderConfig
impl Sync for TestUploaderConfig
impl Unpin for TestUploaderConfig
impl UnwindSafe for TestUploaderConfig
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