Struct debian_control::apt::Source
source · pub struct Source(/* private fields */);
Expand description
A source package in the APT package manager.
Implementations§
source§impl Source
impl Source
pub fn new(paragraph: Paragraph) -> Self
pub fn package(&self) -> Option<String>
pub fn set_package(&mut self, package: &str)
pub fn version(&self) -> Option<Version>
pub fn set_version(&mut self, version: Version)
pub fn maintainer(&self) -> Option<String>
pub fn set_maintainer(&mut self, maintainer: &str)
pub fn uploaders(&self) -> Option<Vec<String>>
pub fn set_uploaders(&mut self, uploaders: Vec<String>)
pub fn standards_version(&self) -> Option<String>
pub fn set_standards_version(&mut self, version: &str)
pub fn format(&self) -> Option<String>
pub fn set_format(&mut self, format: &str)
pub fn vcs_browser(&self) -> Option<String>
pub fn set_vcs_browser(&mut self, url: &str)
pub fn vcs_git(&self) -> Option<String>
pub fn set_vcs_git(&mut self, url: &str)
pub fn build_depends(&self) -> Option<Relations>
pub fn set_build_depends(&mut self, relations: Relations)
pub fn build_depends_indep(&self) -> Option<Relations>
pub fn set_build_depends_indep(&mut self, relations: Relations)
pub fn build_depends_arch(&self) -> Option<Relations>
pub fn set_build_depends_arch(&mut self, relations: Relations)
pub fn build_conflicts(&self) -> Option<Relations>
pub fn set_build_conflicts(&mut self, relations: Relations)
pub fn build_conflicts_indep(&self) -> Option<Relations>
pub fn set_build_conflicts_indep(&mut self, relations: Relations)
pub fn build_conflicts_arch(&self) -> Option<Relations>
pub fn set_build_conflicts_arch(&mut self, relations: Relations)
pub fn binary(&self) -> Option<Relations>
pub fn set_binary(&mut self, relations: Relations)
pub fn homepage(&self) -> Option<String>
pub fn set_homepage(&mut self, url: &str)
pub fn section(&self) -> Option<String>
pub fn set_section(&mut self, section: &str)
pub fn priority(&self) -> Option<Priority>
pub fn set_priority(&mut self, priority: Priority)
sourcepub fn architecture(&self) -> Option<String>
pub fn architecture(&self) -> Option<String>
The architecture of the package.
pub fn set_architecture(&mut self, arch: &str)
pub fn directory(&self) -> Option<String>
pub fn set_directory(&mut self, dir: &str)
pub fn files(&self) -> Vec<File>
pub fn set_files(&mut self, files: Vec<File>)
pub fn checksums_sha1(&self) -> Vec<Sha1Checksum>
pub fn set_checksums_sha1(&mut self, checksums: Vec<Sha1Checksum>)
pub fn checksums_sha256(&self) -> Vec<Sha256Checksum>
pub fn set_checksums_sha256(&mut self, checksums: Vec<Sha256Checksum>)
pub fn checksums_sha512(&self) -> Vec<Sha512Checksum>
pub fn set_checksums_sha512(&mut self, checksums: Vec<Sha512Checksum>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Source
impl !RefUnwindSafe for Source
impl !Send for Source
impl !Sync for Source
impl Unpin for Source
impl !UnwindSafe for Source
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