Skip to main content

ReleaseExt

Trait ReleaseExt 

Source
pub trait ReleaseExt: IsA<Release> + 'static {
Show 29 methods // Provided methods fn add_artifact(&self, artifact: &impl IsA<Artifact>) { ... } fn add_issue(&self, issue: &impl IsA<Issue>) { ... } fn add_tag(&self, ns: &str, tag: &str) -> bool { ... } fn clear_tags(&self) { ... } fn artifacts(&self) -> Vec<Artifact> { ... } fn context(&self) -> Option<Context> { ... } fn date(&self) -> Option<GString> { ... } fn date_eol(&self) -> Option<GString> { ... } fn description(&self) -> Option<GString> { ... } fn issues(&self) -> Vec<Issue> { ... } fn kind(&self) -> ReleaseKind { ... } fn timestamp(&self) -> u64 { ... } fn timestamp_eol(&self) -> u64 { ... } fn urgency(&self) -> UrgencyKind { ... } fn url(&self, url_kind: ReleaseUrlKind) -> Option<GString> { ... } fn version(&self) -> Option<GString> { ... } fn has_tag(&self, ns: &str, tag: &str) -> bool { ... } fn remove_tag(&self, ns: &str, tag: &str) -> bool { ... } fn set_context(&self, context: &impl IsA<Context>) { ... } fn set_date(&self, date: &str) { ... } fn set_date_eol(&self, date: &str) { ... } fn set_description(&self, description: &str, locale: Option<&str>) { ... } fn set_kind(&self, kind: ReleaseKind) { ... } fn set_timestamp(&self, timestamp: u64) { ... } fn set_timestamp_eol(&self, timestamp: u64) { ... } fn set_urgency(&self, urgency: UrgencyKind) { ... } fn set_url(&self, url_kind: ReleaseUrlKind, url: &str) { ... } fn set_version(&self, version: &str) { ... } fn vercmp(&self, rel2: &impl IsA<Release>) -> i32 { ... }
}

Provided Methods§

Source

fn add_artifact(&self, artifact: &impl IsA<Artifact>)

Source

fn add_issue(&self, issue: &impl IsA<Issue>)

Source

fn add_tag(&self, ns: &str, tag: &str) -> bool

Source

fn clear_tags(&self)

Source

fn artifacts(&self) -> Vec<Artifact>

Source

fn context(&self) -> Option<Context>

Source

fn date(&self) -> Option<GString>

Source

fn date_eol(&self) -> Option<GString>

Source

fn description(&self) -> Option<GString>

Source

fn issues(&self) -> Vec<Issue>

Source

fn kind(&self) -> ReleaseKind

Source

fn timestamp(&self) -> u64

Source

fn timestamp_eol(&self) -> u64

Source

fn urgency(&self) -> UrgencyKind

Source

fn url(&self, url_kind: ReleaseUrlKind) -> Option<GString>

Source

fn version(&self) -> Option<GString>

Source

fn has_tag(&self, ns: &str, tag: &str) -> bool

Source

fn remove_tag(&self, ns: &str, tag: &str) -> bool

Source

fn set_context(&self, context: &impl IsA<Context>)

Source

fn set_date(&self, date: &str)

Source

fn set_date_eol(&self, date: &str)

Source

fn set_description(&self, description: &str, locale: Option<&str>)

Source

fn set_kind(&self, kind: ReleaseKind)

Source

fn set_timestamp(&self, timestamp: u64)

Source

fn set_timestamp_eol(&self, timestamp: u64)

Source

fn set_urgency(&self, urgency: UrgencyKind)

Source

fn set_url(&self, url_kind: ReleaseUrlKind, url: &str)

Source

fn set_version(&self, version: &str)

Source

fn vercmp(&self, rel2: &impl IsA<Release>) -> i32

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§