Struct debian_control::apt::Package
source · pub struct Package(/* private fields */);Implementations§
source§impl Package
impl Package
pub fn new(paragraph: Paragraph) -> Self
pub fn name(&self) -> Option<String>
pub fn set_name(&mut self, name: &str)
pub fn version(&self) -> Option<Version>
pub fn set_version(&mut self, version: Version)
pub fn installed_size(&self) -> Option<usize>
pub fn set_installed_size(&mut self, size: usize)
pub fn maintainer(&self) -> Option<String>
pub fn set_maintainer(&mut self, maintainer: &str)
pub fn architecture(&self) -> Option<String>
pub fn set_architecture(&mut self, arch: &str)
pub fn depends(&self) -> Option<Relations>
pub fn set_depends(&mut self, relations: Relations)
pub fn recommends(&self) -> Option<Relations>
pub fn set_recommends(&mut self, relations: Relations)
pub fn suggests(&self) -> Option<Relations>
pub fn set_suggests(&mut self, relations: Relations)
pub fn enhances(&self) -> Option<Relations>
pub fn set_enhances(&mut self, relations: Relations)
pub fn pre_depends(&self) -> Option<Relations>
pub fn set_pre_depends(&mut self, relations: Relations)
pub fn breaks(&self) -> Option<Relations>
pub fn set_breaks(&mut self, relations: Relations)
pub fn conflicts(&self) -> Option<Relations>
pub fn set_conflicts(&mut self, relations: Relations)
pub fn replaces(&self) -> Option<Relations>
pub fn set_replaces(&mut self, relations: Relations)
pub fn provides(&self) -> Option<Relations>
pub fn set_provides(&mut self, relations: Relations)
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)
pub fn description(&self) -> Option<String>
pub fn set_description(&mut self, description: &str)
pub fn homepage(&self) -> Option<Url>
pub fn set_homepage(&mut self, url: &Url)
pub fn source(&self) -> Option<String>
pub fn set_source(&mut self, source: &str)
pub fn description_md5(&self) -> Option<String>
pub fn set_description_md5(&mut self, md5: &str)
pub fn filename(&self) -> Option<String>
pub fn set_filename(&mut self, filename: &str)
pub fn size(&self) -> Option<usize>
pub fn set_size(&mut self, size: usize)
pub fn md5sum(&self) -> Option<String>
pub fn set_md5sum(&mut self, md5sum: &str)
pub fn sha256(&self) -> Option<String>
pub fn set_sha256(&mut self, sha256: &str)
pub fn multi_arch(&self) -> Option<MultiArch>
pub fn set_multi_arch(&mut self, arch: MultiArch)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Package
impl !RefUnwindSafe for Package
impl !Send for Package
impl !Sync for Package
impl Unpin for Package
impl !UnwindSafe for Package
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