Struct debian_control::lossless::control::Binary
source · pub struct Binary(/* private fields */);Implementations§
source§impl Binary
impl Binary
pub fn new() -> Self
pub fn as_mut_deb822(&mut self) -> &mut Paragraph
pub fn as_deb822(&self) -> &Paragraph
pub fn wrap_and_sort( &mut self, indentation: Indentation, immediate_empty_line: bool, max_line_length_one_liner: Option<usize>, )
pub fn set_name(&mut self, name: &str)
pub fn set_section(&mut self, section: Option<&str>)
pub fn set_priority(&mut self, priority: Option<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: Option<&str>)
pub fn set_depends(&mut self, depends: Option<&Relations>)
pub fn recommends(&self) -> Option<Relations>
pub fn set_recommends(&mut self, recommends: Option<&Relations>)
pub fn suggests(&self) -> Option<Relations>
pub fn set_suggests(&mut self, suggests: Option<&Relations>)
pub fn enhances(&self) -> Option<Relations>
pub fn set_enhances(&mut self, enhances: Option<&Relations>)
pub fn pre_depends(&self) -> Option<Relations>
pub fn set_pre_depends(&mut self, pre_depends: Option<&Relations>)
pub fn breaks(&self) -> Option<Relations>
pub fn set_breaks(&mut self, breaks: Option<&Relations>)
pub fn conflicts(&self) -> Option<Relations>
pub fn set_conflicts(&mut self, conflicts: Option<&Relations>)
pub fn replaces(&self) -> Option<Relations>
pub fn set_replaces(&mut self, replaces: Option<&Relations>)
pub fn provides(&self) -> Option<Relations>
pub fn set_provides(&mut self, provides: Option<&Relations>)
pub fn built_using(&self) -> Option<Relations>
pub fn set_built_using(&mut self, built_using: Option<&Relations>)
pub fn multi_arch(&self) -> Option<MultiArch>
pub fn set_multi_arch(&mut self, multi_arch: Option<MultiArch>)
pub fn essential(&self) -> bool
pub fn set_essential(&mut self, essential: bool)
sourcepub fn description(&self) -> Option<String>
pub fn description(&self) -> Option<String>
Binary package description
pub fn set_description(&mut self, description: Option<&str>)
pub fn homepage(&self) -> Option<Url>
pub fn set_homepage(&mut self, url: &Url)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Binary
impl !RefUnwindSafe for Binary
impl !Send for Binary
impl !Sync for Binary
impl Unpin for Binary
impl !UnwindSafe for Binary
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