pub struct SyncTestItem {
pub class_name: String,
pub test_methods: Option<Vec<String>>,
pub namespace: Option<String>,
}Expand description
A test class descriptor for synchronous test execution.
Salesforce runTestsSynchronous expects objects with className and
optional testMethods, not plain class name strings.
Fields§
§class_name: StringThe Apex test class name (required).
test_methods: Option<Vec<String>>Specific test methods to run. If None, all test methods are executed.
namespace: Option<String>Namespace prefix (for managed packages).
Trait Implementations§
Source§impl Clone for SyncTestItem
impl Clone for SyncTestItem
Source§fn clone(&self) -> SyncTestItem
fn clone(&self) -> SyncTestItem
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 SyncTestItem
impl Debug for SyncTestItem
Source§impl<'de> Deserialize<'de> for SyncTestItem
impl<'de> Deserialize<'de> for SyncTestItem
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 SyncTestItem
impl RefUnwindSafe for SyncTestItem
impl Send for SyncTestItem
impl Sync for SyncTestItem
impl Unpin for SyncTestItem
impl UnwindSafe for SyncTestItem
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