pub struct ProjectReleaseFileFull {
pub self_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub date_uploaded: DateTime<Utc>,
pub description: String,
pub file_link: Url,
pub file_type: FileType,
pub project_release_link: Url,
pub signature_link: Url,
}Expand description
Representation of the project_release_file-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
date_uploaded: DateTime<Utc>Upload date
The date this file was uploaded
description: StringDescription
A detailed description of the file contents
file_link: UrlFile
The file contents.
file_type: FileTypeUpstream file type
project_release_link: UrlProject release
The parent product release.
signature_link: UrlFile signature
The file signature.
Implementations§
Source§impl ProjectReleaseFileFull
impl ProjectReleaseFileFull
Sourcepub fn self_(&self) -> Option<ProjectReleaseFile>
pub fn self_(&self) -> Option<ProjectReleaseFile>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<ProjectReleaseFile>)
Sourcepub fn file(&self) -> HostedFile
pub fn file(&self) -> HostedFile
File
The file contents.
pub fn set_file(&mut self, value: HostedFile)
Sourcepub fn project_release(&self) -> ProjectRelease
pub fn project_release(&self) -> ProjectRelease
Project release
The parent product release.
pub fn set_project_release(&mut self, value: ProjectRelease)
Sourcepub fn signature(&self) -> HostedFile
pub fn signature(&self) -> HostedFile
File signature
The file signature.
pub fn set_signature(&mut self, value: HostedFile)
Trait Implementations§
Source§impl Clone for ProjectReleaseFileFull
impl Clone for ProjectReleaseFileFull
Source§fn clone(&self) -> ProjectReleaseFileFull
fn clone(&self) -> ProjectReleaseFileFull
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 ProjectReleaseFileFull
impl Debug for ProjectReleaseFileFull
Source§impl<'de> Deserialize<'de> for ProjectReleaseFileFull
impl<'de> Deserialize<'de> for ProjectReleaseFileFull
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 ProjectReleaseFileFull
impl PartialEq for ProjectReleaseFileFull
Source§impl Serialize for ProjectReleaseFileFull
impl Serialize for ProjectReleaseFileFull
impl StructuralPartialEq for ProjectReleaseFileFull
Auto Trait Implementations§
impl Freeze for ProjectReleaseFileFull
impl RefUnwindSafe for ProjectReleaseFileFull
impl Send for ProjectReleaseFileFull
impl Sync for ProjectReleaseFileFull
impl Unpin for ProjectReleaseFileFull
impl UnwindSafe for ProjectReleaseFileFull
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