pub struct BodyUploadTestDataTestsUploadPost {
pub agent_version: String,
pub anonymization_version: i64,
pub branch_name: String,
pub commit_sha: CommitSha,
pub commit_timestamp: Option<String>,
pub environment: String,
pub file: String,
pub reported_at: String,
pub salt: Salt,
pub test_type: QualityApiTestsRoutesTestType,
}Expand description
BodyUploadTestDataTestsUploadPost
JSON schema
{
"title": "Body_upload_test_data_tests_upload_post",
"type": "object",
"required": [
"agent_version",
"anonymization_version",
"branch_name",
"commit_sha",
"environment",
"file",
"reported_at",
"salt",
"test_type"
],
"properties": {
"agent_version": {
"title": "Agent Version",
"description": "Version of testlint-sdk that created the upload",
"type": "string"
},
"anonymization_version": {
"title": "Anonymization Version",
"description": "Anonymization version (currently 1)",
"type": "integer"
},
"branch_name": {
"title": "Branch Name",
"description": "Git branch name",
"type": "string"
},
"commit_sha": {
"title": "Commit Sha",
"description": "Git commit SHA hash",
"type": "string",
"maxLength": 40,
"minLength": 7
},
"commit_timestamp": {
"title": "Commit Timestamp",
"description": "ISO 8601 timestamp when commit was created (optional)",
"type": [
"string",
"null"
]
},
"environment": {
"title": "Environment",
"description": "Environment name (production, staging, development, or custom)",
"type": "string"
},
"file": {
"title": "File",
"description": "Test data (coverage, test results) as .tar.gz archive",
"type": "string",
"format": "binary"
},
"reported_at": {
"title": "Reported At",
"description": "ISO 8601 timestamp when coverage was generated",
"type": "string"
},
"salt": {
"title": "Salt",
"description": "64-character hex salt for test name hashing",
"type": "string",
"maxLength": 64,
"minLength": 64
},
"test_type": {
"$ref": "#/components/schemas/quality__api__tests__routes__TestType"
}
}
}Fields§
§agent_version: StringVersion of testlint-sdk that created the upload
anonymization_version: i64Anonymization version (currently 1)
branch_name: StringGit branch name
commit_sha: CommitShaGit commit SHA hash
commit_timestamp: Option<String>ISO 8601 timestamp when commit was created (optional)
environment: StringEnvironment name (production, staging, development, or custom)
file: StringTest data (coverage, test results) as .tar.gz archive
reported_at: StringISO 8601 timestamp when coverage was generated
salt: Salt64-character hex salt for test name hashing
test_type: QualityApiTestsRoutesTestTypeImplementations§
Trait Implementations§
Source§impl Clone for BodyUploadTestDataTestsUploadPost
impl Clone for BodyUploadTestDataTestsUploadPost
Source§fn clone(&self) -> BodyUploadTestDataTestsUploadPost
fn clone(&self) -> BodyUploadTestDataTestsUploadPost
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<'de> Deserialize<'de> for BodyUploadTestDataTestsUploadPost
impl<'de> Deserialize<'de> for BodyUploadTestDataTestsUploadPost
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 From<&BodyUploadTestDataTestsUploadPost> for BodyUploadTestDataTestsUploadPost
impl From<&BodyUploadTestDataTestsUploadPost> for BodyUploadTestDataTestsUploadPost
Source§fn from(value: &BodyUploadTestDataTestsUploadPost) -> Self
fn from(value: &BodyUploadTestDataTestsUploadPost) -> Self
Converts to this type from the input type.
Source§impl From<BodyUploadTestDataTestsUploadPost> for BodyUploadTestDataTestsUploadPost
impl From<BodyUploadTestDataTestsUploadPost> for BodyUploadTestDataTestsUploadPost
Source§fn from(value: BodyUploadTestDataTestsUploadPost) -> Self
fn from(value: BodyUploadTestDataTestsUploadPost) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BodyUploadTestDataTestsUploadPost> for BodyUploadTestDataTestsUploadPost
impl TryFrom<BodyUploadTestDataTestsUploadPost> for BodyUploadTestDataTestsUploadPost
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: BodyUploadTestDataTestsUploadPost,
) -> Result<Self, ConversionError>
fn try_from( value: BodyUploadTestDataTestsUploadPost, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BodyUploadTestDataTestsUploadPost
impl RefUnwindSafe for BodyUploadTestDataTestsUploadPost
impl Send for BodyUploadTestDataTestsUploadPost
impl Sync for BodyUploadTestDataTestsUploadPost
impl Unpin for BodyUploadTestDataTestsUploadPost
impl UnwindSafe for BodyUploadTestDataTestsUploadPost
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