Struct debian_control::lossless::apt::Release
source · pub struct Release(/* private fields */);Implementations§
source§impl Release
impl Release
pub fn new(paragraph: Paragraph) -> Self
pub fn origin(&self) -> Option<String>
pub fn set_origin(&mut self, origin: &str)
pub fn label(&self) -> Option<String>
pub fn set_label(&mut self, label: &str)
pub fn suite(&self) -> Option<String>
pub fn set_suite(&mut self, suite: &str)
pub fn codename(&self) -> Option<String>
pub fn set_codename(&mut self, codename: &str)
pub fn changelogs(&self) -> Option<Vec<String>>
pub fn set_changelogs(&mut self, changelogs: Vec<String>)
pub fn date(&self) -> Option<DateTime<FixedOffset>>
pub fn set_date(&mut self, date: DateTime<FixedOffset>)
pub fn valid_until(&self) -> Option<DateTime<FixedOffset>>
pub fn set_valid_until(&mut self, date: DateTime<FixedOffset>)
pub fn acquire_by_hash(&self) -> bool
pub fn set_acquire_by_hash(&mut self, acquire_by_hash: bool)
pub fn no_support_for_architecture_all(&self) -> bool
pub fn set_no_support_for_architecture_all( &mut self, no_support_for_architecture_all: bool, )
pub fn architectures(&self) -> Option<Vec<String>>
pub fn set_architectures(&mut self, architectures: Vec<String>)
pub fn components(&self) -> Option<Vec<String>>
pub fn set_components(&mut self, components: Vec<String>)
pub fn description(&self) -> Option<String>
pub fn set_description(&mut self, description: &str)
pub fn checksums_md5(&self) -> Vec<MD5Checksum>
pub fn set_checksums_md5(&mut self, files: Vec<MD5Checksum>)
pub fn checksums_sha1(&self) -> Vec<Sha1Checksum>
pub fn set_checksums_sha1(&mut self, checksums: Vec<Sha1Checksum>)
pub fn checksums_sha256(&self) -> Vec<Sha256Checksum>
pub fn set_checksums_sha256(&mut self, checksums: Vec<Sha256Checksum>)
pub fn checksums_sha512(&self) -> Vec<Sha512Checksum>
pub fn set_checksums_sha512(&mut self, checksums: Vec<Sha512Checksum>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Release
impl !RefUnwindSafe for Release
impl !Send for Release
impl !Sync for Release
impl Unpin for Release
impl !UnwindSafe for Release
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