pub struct TestScriptTestAction {
pub id: Option<String>,
pub extension: Vec<Extension, Global>,
pub modifier_extension: Vec<Extension, Global>,
pub operation: Option<TestScriptSetupActionOperation>,
pub assert: Option<TestScriptSetupActionAssert>,
}
Expand description
Action would contain either an operation or an assertion.
Fields§
§id: Option<String>
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Vec<Extension, Global>
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
modifier_extension: Vec<Extension, Global>
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element’s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
operation: Option<TestScriptSetupActionOperation>
An operation would involve a REST request to a server.
assert: Option<TestScriptSetupActionAssert>
Evaluates the results of previous operations to determine if the server under test behaves appropriately.
Trait Implementations§
source§impl Clone for TestScriptTestAction
impl Clone for TestScriptTestAction
source§fn clone(&self) -> TestScriptTestAction
fn clone(&self) -> TestScriptTestAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestScriptTestAction
impl Debug for TestScriptTestAction
source§impl Default for TestScriptTestAction
impl Default for TestScriptTestAction
source§fn default() -> TestScriptTestAction
fn default() -> TestScriptTestAction
source§impl PartialEq<TestScriptTestAction> for TestScriptTestAction
impl PartialEq<TestScriptTestAction> for TestScriptTestAction
source§fn eq(&self, other: &TestScriptTestAction) -> bool
fn eq(&self, other: &TestScriptTestAction) -> bool
self
and other
values to be equal, and is used
by ==
.