pub struct RunTestsAsyncRequest {
pub class_ids: Option<String>,
pub class_names: Option<String>,
pub suite_ids: Option<String>,
pub suite_names: Option<String>,
pub max_failed_tests: Option<i32>,
pub test_level: Option<String>,
pub skip_code_coverage: Option<bool>,
}Expand description
Request for running tests asynchronously.
The Salesforce runTestsAsynchronous endpoint accepts comma-separated
strings for classids, classNames, suiteids, and suiteNames.
Fields§
§class_ids: Option<String>Comma-separated list of test class IDs to run.
class_names: Option<String>Comma-separated list of test class names to run (alternative to class_ids).
suite_ids: Option<String>Comma-separated list of test suite IDs to run.
suite_names: Option<String>Comma-separated list of test suite names to run (alternative to suite_ids).
max_failed_tests: Option<i32>Maximum number of failed tests before stopping (-1 for no limit).
test_level: Option<String>Test level: RunSpecifiedTests, RunLocalTests, RunAllTestsInOrg, etc.
skip_code_coverage: Option<bool>Whether to skip code coverage calculation.
Trait Implementations§
Source§impl Clone for RunTestsAsyncRequest
impl Clone for RunTestsAsyncRequest
Source§fn clone(&self) -> RunTestsAsyncRequest
fn clone(&self) -> RunTestsAsyncRequest
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 RunTestsAsyncRequest
impl Debug for RunTestsAsyncRequest
Source§impl Default for RunTestsAsyncRequest
impl Default for RunTestsAsyncRequest
Source§fn default() -> RunTestsAsyncRequest
fn default() -> RunTestsAsyncRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunTestsAsyncRequest
impl<'de> Deserialize<'de> for RunTestsAsyncRequest
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 RunTestsAsyncRequest
impl RefUnwindSafe for RunTestsAsyncRequest
impl Send for RunTestsAsyncRequest
impl Sync for RunTestsAsyncRequest
impl Unpin for RunTestsAsyncRequest
impl UnwindSafe for RunTestsAsyncRequest
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