pub struct ProjectReleaseFileDiff {
pub description: Option<String>,
pub file_type: Option<FileType>,
pub project_release_link: Option<Url>,
}Expand description
Representation of the project_release_file-diff resource
Fields§
§description: Option<String>Description
A detailed description of the file contents
file_type: Option<FileType>Upstream file type
project_release_link: Option<Url>Project release
The parent product release.
Implementations§
Source§impl ProjectReleaseFileDiff
impl ProjectReleaseFileDiff
Sourcepub fn project_release(&self) -> Option<ProjectRelease>
pub fn project_release(&self) -> Option<ProjectRelease>
Project release
The parent product release.
pub fn set_project_release(&mut self, value: Option<ProjectRelease>)
Trait Implementations§
Source§impl Clone for ProjectReleaseFileDiff
impl Clone for ProjectReleaseFileDiff
Source§fn clone(&self) -> ProjectReleaseFileDiff
fn clone(&self) -> ProjectReleaseFileDiff
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 ProjectReleaseFileDiff
impl Debug for ProjectReleaseFileDiff
Source§impl Default for ProjectReleaseFileDiff
impl Default for ProjectReleaseFileDiff
Source§impl<'de> Deserialize<'de> for ProjectReleaseFileDiff
impl<'de> Deserialize<'de> for ProjectReleaseFileDiff
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 ProjectReleaseFileDiff
impl PartialEq for ProjectReleaseFileDiff
Source§impl Serialize for ProjectReleaseFileDiff
impl Serialize for ProjectReleaseFileDiff
impl StructuralPartialEq for ProjectReleaseFileDiff
Auto Trait Implementations§
impl Freeze for ProjectReleaseFileDiff
impl RefUnwindSafe for ProjectReleaseFileDiff
impl Send for ProjectReleaseFileDiff
impl Sync for ProjectReleaseFileDiff
impl Unpin for ProjectReleaseFileDiff
impl UnwindSafe for ProjectReleaseFileDiff
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