pub struct ArtifactResource {
pub links: Option<ReferenceLinks>,
pub data: Option<String>,
pub download_url: Option<String>,
pub properties: Option<Value>,
pub type_: Option<String>,
pub url: Option<String>,
}Fields§
§links: Option<ReferenceLinks>The class to represent a collection of REST reference links.
data: Option<String>Type-specific data about the artifact.
download_url: Option<String>A link to download the resource.
properties: Option<Value>Type-specific properties of the artifact.
type_: Option<String>The type of the resource: File container, version control folder, UNC path, etc.
url: Option<String>The full http link to the resource.
Implementations§
Trait Implementations§
Source§impl Clone for ArtifactResource
impl Clone for ArtifactResource
Source§fn clone(&self) -> ArtifactResource
fn clone(&self) -> ArtifactResource
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 Debug for ArtifactResource
impl Debug for ArtifactResource
Source§impl Default for ArtifactResource
impl Default for ArtifactResource
Source§fn default() -> ArtifactResource
fn default() -> ArtifactResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArtifactResource
impl<'de> Deserialize<'de> for ArtifactResource
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 ArtifactResource
impl PartialEq for ArtifactResource
Source§impl Serialize for ArtifactResource
impl Serialize for ArtifactResource
impl StructuralPartialEq for ArtifactResource
Auto Trait Implementations§
impl Freeze for ArtifactResource
impl RefUnwindSafe for ArtifactResource
impl Send for ArtifactResource
impl Sync for ArtifactResource
impl Unpin for ArtifactResource
impl UnwindSafe for ArtifactResource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more