Struct debian_copyright::Header
source · pub struct Header(/* private fields */);Implementations§
source§impl Header
impl Header
sourcepub fn format_string(&self) -> Option<String>
pub fn format_string(&self) -> Option<String>
Returns the format string for this file.
pub fn get(&self, key: &str) -> Option<String>
pub fn upstream_name(&self) -> Option<String>
pub fn upstream_contact(&self) -> Option<String>
pub fn source(&self) -> Option<String>
pub fn files_excluded(&self) -> Option<Vec<String>>
pub fn fix(&mut self)
Auto Trait Implementations§
impl Freeze for Header
impl !RefUnwindSafe for Header
impl !Send for Header
impl !Sync for Header
impl Unpin for Header
impl !UnwindSafe for Header
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