pub struct RunCreateModel {
Show 36 fields pub automated: Option<bool>, pub build: Option<ShallowReference>, pub build_drop_location: Option<String>, pub build_flavor: Option<String>, pub build_platform: Option<String>, pub build_reference: Option<BuildConfiguration>, pub comment: Option<String>, pub complete_date: Option<String>, pub configuration_ids: Vec<i32>, pub controller: Option<String>, pub custom_test_fields: Vec<CustomTestField>, pub dtl_aut_environment: Option<ShallowReference>, pub dtl_test_environment: Option<ShallowReference>, pub due_date: Option<String>, pub environment_details: Option<DtlEnvironmentDetails>, pub error_message: Option<String>, pub filter: Option<RunFilter>, pub iteration: Option<String>, pub name: Option<String>, pub owner: Option<IdentityRef>, pub pipeline_reference: Option<PipelineReference>, pub plan: Option<ShallowReference>, pub point_ids: Vec<i32>, pub release_environment_uri: Option<String>, pub release_reference: Option<ReleaseReference>, pub release_uri: Option<String>, pub run_summary: Vec<RunSummaryModel>, pub run_timeout: Option<String>, pub source_workflow: Option<String>, pub start_date: Option<String>, pub state: Option<String>, pub tags: Vec<TestTag>, pub test_configurations_mapping: Option<String>, pub test_environment_id: Option<String>, pub test_settings: Option<ShallowReference>, pub type_: Option<String>,
}
Expand description

Test run create details.

Fields§

§automated: Option<bool>

true if test run is automated, false otherwise. By default it will be false.

§build: Option<ShallowReference>

An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.

§build_drop_location: Option<String>

Drop location of the build used for test run.

§build_flavor: Option<String>

Flavor of the build used for test run. (E.g: Release, Debug)

§build_platform: Option<String>

Platform of the build used for test run. (E.g.: x86, amd64)

§build_reference: Option<BuildConfiguration>

BuildConfiguration Details.

§comment: Option<String>

Comments entered by those analyzing the run.

§complete_date: Option<String>

Completed date time of the run.

§configuration_ids: Vec<i32>

IDs of the test configurations associated with the run.

§controller: Option<String>

Name of the test controller used for automated run.

§custom_test_fields: Vec<CustomTestField>

Additional properties of test Run.

§dtl_aut_environment: Option<ShallowReference>

An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.

§dtl_test_environment: Option<ShallowReference>

An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.

§due_date: Option<String>

Due date and time for test run.

§environment_details: Option<DtlEnvironmentDetails>

This is a temporary class to provide the details for the test run environment.

§error_message: Option<String>

Error message associated with the run.

§filter: Option<RunFilter>

This class is used to provide the filters used for discovery

§iteration: Option<String>

The iteration in which to create the run. Root iteration of the team project will be default

§name: Option<String>

Name of the test run.

§owner: Option<IdentityRef>
§pipeline_reference: Option<PipelineReference>

Pipeline reference

§plan: Option<ShallowReference>

An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.

§point_ids: Vec<i32>

IDs of the test points to use in the run.

§release_environment_uri: Option<String>

URI of release environment associated with the run.

§release_reference: Option<ReleaseReference>

Reference to a release.

§release_uri: Option<String>

URI of release associated with the run.

§run_summary: Vec<RunSummaryModel>

Run summary for run Type = NoConfigRun.

§run_timeout: Option<String>

Timespan till the run times out.

§source_workflow: Option<String>

SourceWorkFlow(CI/CD) of the test run.

§start_date: Option<String>

Start date time of the run.

§state: Option<String>

The state of the run. Type TestRunState Valid states - NotStarted, InProgress, Waiting

§tags: Vec<TestTag>

Tags to attach with the test run, maximum of 5 tags can be added to run.

§test_configurations_mapping: Option<String>

TestConfigurationMapping of the test run.

§test_environment_id: Option<String>

ID of the test environment associated with the run.

§test_settings: Option<ShallowReference>

An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.

§type_: Option<String>

Type of the run(RunType) Valid Values : (Unspecified, Normal, Blocking, Web, MtrRunInitiatedFromWeb, RunWithDtlEnv, NoConfigRun)

Implementations§

source§

impl RunCreateModel

source

pub fn new() -> Self

Trait Implementations§

source§

impl Clone for RunCreateModel

source§

fn clone(&self) -> RunCreateModel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RunCreateModel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RunCreateModel

source§

fn default() -> RunCreateModel

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for RunCreateModel

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for RunCreateModel

source§

fn eq(&self, other: &RunCreateModel) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for RunCreateModel

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for RunCreateModel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,