Struct debian_control::lossless::control::Source
source · pub struct Source(/* private fields */);Implementations§
source§impl Source
impl Source
pub fn wrap_and_sort( &mut self, indentation: Indentation, immediate_empty_line: bool, max_line_length_one_liner: Option<usize>, )
pub fn as_mut_deb822(&mut self) -> &mut Paragraph
pub fn as_deb822(&self) -> &Paragraph
pub fn set_name(&mut self, name: &str)
sourcepub fn section(&self) -> Option<String>
pub fn section(&self) -> Option<String>
The default section of the packages built from this source package.
pub fn set_section(&mut self, section: Option<&str>)
sourcepub fn priority(&self) -> Option<Priority>
pub fn priority(&self) -> Option<Priority>
The default priority of the packages built from this source package.
pub fn set_priority(&mut self, priority: Option<Priority>)
sourcepub fn maintainer(&self) -> Option<String>
pub fn maintainer(&self) -> Option<String>
The maintainer of the package.
pub fn set_maintainer(&mut self, maintainer: &str)
sourcepub fn build_depends(&self) -> Option<Relations>
pub fn build_depends(&self) -> Option<Relations>
The build dependencies of the package.
pub fn set_build_depends(&mut self, relations: &Relations)
pub fn build_depends_indep(&self) -> Option<Relations>
pub fn build_depends_arch(&self) -> Option<Relations>
pub fn build_conflicts(&self) -> Option<Relations>
pub fn build_conflicts_indep(&self) -> Option<Relations>
pub fn build_conflicts_arch(&self) -> Option<Relations>
pub fn standards_version(&self) -> Option<String>
pub fn set_standards_version(&mut self, version: &str)
pub fn homepage(&self) -> Option<Url>
pub fn set_homepage(&mut self, homepage: &Url)
pub fn vcs_git(&self) -> Option<String>
pub fn set_vcs_git(&mut self, url: &str)
pub fn vcs_svn(&self) -> Option<String>
pub fn set_vcs_svn(&mut self, url: &str)
pub fn vcs_bzr(&self) -> Option<String>
pub fn set_vcs_bzr(&mut self, url: &str)
pub fn vcs_arch(&self) -> Option<String>
pub fn set_vcs_arch(&mut self, url: &str)
pub fn vcs_svk(&self) -> Option<String>
pub fn set_vcs_svk(&mut self, url: &str)
pub fn vcs_darcs(&self) -> Option<String>
pub fn set_vcs_darcs(&mut self, url: &str)
pub fn vcs_mtn(&self) -> Option<String>
pub fn set_vcs_mtn(&mut self, url: &str)
pub fn vcs_cvs(&self) -> Option<String>
pub fn set_vcs_cvs(&mut self, url: &str)
pub fn vcs_hg(&self) -> Option<String>
pub fn set_vcs_hg(&mut self, url: &str)
pub fn vcs_browser(&self) -> Option<String>
pub fn set_vcs_browser(&mut self, url: Option<&str>)
pub fn uploaders(&self) -> Option<Vec<String>>
pub fn set_uploaders(&mut self, uploaders: &[&str])
pub fn architecture(&self) -> Option<String>
pub fn set_architecture(&mut self, arch: Option<&str>)
pub fn rules_requires_root(&self) -> Option<bool>
pub fn testsuite(&self) -> Option<String>
pub fn set_testsuite(&mut self, testsuite: &str)
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