Struct debian_watch::Entry
source · pub struct Entry(/* private fields */);Implementations§
source§impl Entry
impl Entry
pub fn option_list(&self) -> Option<OptionList>
pub fn get_option(&self, key: &str) -> Option<String>
pub fn has_option(&self, key: &str) -> bool
pub fn ctype(&self) -> Option<ComponentType>
pub fn compression(&self) -> Option<Compression>
pub fn repack(&self) -> bool
pub fn repacksuffix(&self) -> Option<String>
pub fn mode(&self) -> Option<Mode>
pub fn pretty(&self) -> Pretty
pub fn date(&self) -> String
pub fn gitexport(&self) -> GitExport
pub fn gitmode(&self) -> GitMode
pub fn pgpmode(&self) -> PgpMode
pub fn searchmode(&self) -> SearchMode
pub fn decompress(&self) -> bool
pub fn bare(&self) -> bool
pub fn user_agent(&self) -> Option<String>
pub fn passive(&self) -> Option<bool>
pub fn unzipoptions(&self) -> Option<String>
pub fn dversionmangle(&self) -> Option<String>
pub fn dirversionmangle(&self) -> Option<String>
pub fn pagemangle(&self) -> Option<String>
pub fn uversionmangle(&self) -> Option<String>
pub fn versionmangle(&self) -> Option<String>
pub fn hrefdecode(&self) -> bool
pub fn downloadurlmangle(&self) -> Option<String>
pub fn filenamemangle(&self) -> Option<String>
pub fn pgpsigurlmangle(&self) -> Option<String>
pub fn oversionmangle(&self) -> Option<String>
sourcepub fn matching_pattern(&self) -> Option<String>
pub fn matching_pattern(&self) -> Option<String>
Returns the matching pattern of the entry.
sourcepub fn version(&self) -> Option<VersionPolicy>
pub fn version(&self) -> Option<VersionPolicy>
Returns the version policy
sourcepub fn format_url(&self, package: impl FnOnce() -> String) -> Url
pub fn format_url(&self, package: impl FnOnce() -> String) -> Url
Replace all substitutions and return the resulting URL.
Trait Implementations§
source§impl PartialEq for Entry
impl PartialEq for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl !RefUnwindSafe for Entry
impl !Send for Entry
impl !Sync for Entry
impl Unpin for Entry
impl !UnwindSafe for Entry
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