Struct debian_control::changes::Changes
source · pub struct Changes(/* private fields */);
Implementations§
source§impl Changes
impl Changes
pub fn format(&self) -> Option<String>
pub fn set_format(&mut self, value: &str)
pub fn source(&self) -> Option<String>
pub fn binary(&self) -> Option<Vec<String>>
pub fn architecture(&self) -> Option<Vec<String>>
pub fn version(&self) -> Option<Version>
pub fn distribution(&self) -> Option<String>
pub fn urgency(&self) -> Option<Urgency>
pub fn maintainer(&self) -> Option<String>
pub fn changed_by(&self) -> Option<String>
pub fn description(&self) -> Option<String>
pub fn checksums_sha1(&self) -> Option<Vec<Sha1Checksum>>
pub fn checksums_sha256(&self) -> Option<Vec<Sha256Checksum>>
sourcepub fn get_pool_path(&self) -> Option<String>
pub fn get_pool_path(&self) -> Option<String>
Returns the path to the pool directory for the source package.
pub fn new() -> Self
pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, ParseError>
pub fn from_file_relaxed<P: AsRef<Path>>( path: P, ) -> Result<(Self, Vec<String>), Error>
pub fn read<R: Read>(r: R) -> Result<Self, ParseError>
pub fn read_relaxed<R: Read>(r: R) -> Result<(Self, Vec<String>), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Changes
impl !RefUnwindSafe for Changes
impl !Send for Changes
impl !Sync for Changes
impl Unpin for Changes
impl !UnwindSafe for Changes
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