pub struct TestAttachmentRequestModel {
pub attachment_type: Option<String>,
pub comment: Option<String>,
pub file_name: Option<String>,
pub stream: Option<String>,
}
Expand description
Test attachment request model
Fields§
§attachment_type: Option<String>
Attachment type By Default it will be GeneralAttachment. It can be one of the following type. { GeneralAttachment, AfnStrip, BugFilingData, CodeCoverage, IntermediateCollectorData, RunConfig, TestImpactDetails, TmiTestRunDeploymentFiles, TmiTestRunReverseDeploymentFiles, TmiTestResultDetail, TmiTestRunSummary }
comment: Option<String>
Comment associated with attachment
file_name: Option<String>
Attachment filename
stream: Option<String>
Base64 encoded file stream
Implementations§
Trait Implementations§
source§impl Clone for TestAttachmentRequestModel
impl Clone for TestAttachmentRequestModel
source§fn clone(&self) -> TestAttachmentRequestModel
fn clone(&self) -> TestAttachmentRequestModel
Returns a copy 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 TestAttachmentRequestModel
impl Debug for TestAttachmentRequestModel
source§impl Default for TestAttachmentRequestModel
impl Default for TestAttachmentRequestModel
source§fn default() -> TestAttachmentRequestModel
fn default() -> TestAttachmentRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TestAttachmentRequestModel
impl<'de> Deserialize<'de> for TestAttachmentRequestModel
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 PartialEq for TestAttachmentRequestModel
impl PartialEq for TestAttachmentRequestModel
source§fn eq(&self, other: &TestAttachmentRequestModel) -> bool
fn eq(&self, other: &TestAttachmentRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestAttachmentRequestModel
Auto Trait Implementations§
impl RefUnwindSafe for TestAttachmentRequestModel
impl Send for TestAttachmentRequestModel
impl Sync for TestAttachmentRequestModel
impl Unpin for TestAttachmentRequestModel
impl UnwindSafe for TestAttachmentRequestModel
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