Struct azure_devops_rust_api::release::models::Artifact
source · pub struct Artifact {
pub alias: Option<String>,
pub definition_reference: Option<Value>,
pub is_primary: Option<bool>,
pub is_retained: Option<bool>,
pub type_: Option<String>,
}
Expand description
Fields§
§alias: Option<String>
Gets or sets alias.
definition_reference: Option<Value>
Gets or sets definition reference. e.g. {“project”:{“id”:“fed755ea-49c5-4399-acea-fd5b5aa90a6c”,“name”:“myProject”},“definition”:{“id”:“1”,“name”:“mybuildDefinition”},“connection”:{“id”:“1”,“name”:“myConnection”}}.
is_primary: Option<bool>
Indicates whether artifact is primary or not.
is_retained: Option<bool>
Indicates whether artifact is retained by release or not.
type_: Option<String>
Gets or sets type. It can have value as ‘Build’, ‘Jenkins’, ‘GitHub’, ‘Nuget’, ‘Team Build (external)’, ‘ExternalTFSBuild’, ‘Git’, ‘TFVC’, ‘ExternalTfsXamlBuild’.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Artifact
impl<'de> Deserialize<'de> for Artifact
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 Artifact
impl PartialEq for Artifact
impl StructuralPartialEq for Artifact
Auto Trait Implementations§
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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