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§
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 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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".