pub struct TestSuite {
pub variables: HashMap<String, String>,
pub timeout_ms: Option<u64>,
pub requests: Vec<RequestDef>,
}Expand description
テストスイート定義。YAMLファイルの最上位構造。
Fields§
§variables: HashMap<String, String>ファイルレベルの変数定義。
timeout_ms: Option<u64>スイート全体のデフォルトタイムアウト (ms)。省略時は run の timeout_ms を使用。
requests: Vec<RequestDef>リクエスト一覧。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestSuite
impl<'de> Deserialize<'de> for TestSuite
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
Source§impl JsonSchema for TestSuite
impl JsonSchema for TestSuite
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for TestSuite
impl RefUnwindSafe for TestSuite
impl Send for TestSuite
impl Sync for TestSuite
impl Unpin for TestSuite
impl UnsafeUnpin for TestSuite
impl UnwindSafe for TestSuite
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