[−][src]Struct bodhi::data::Update
This struct represents a bodhi update, with associated items: bugs, builds, comments, release, status, submitter, etc.
Fields
alias: String
user-visible, human-readable update alias (FEDORA-2019-1A2BB23E
)
autokarma: bool
flag to indicate whether this update can be pushed to stable automatically based on karma
autotime: bool
flag to indicate whether this update can be pushed to stable automatically based on time
bugs: Vec<Bug>
bugs associated with this update
builds: Vec<Build>
builds associated with this update
close_bugs: bool
flag to indicate whether bugs will be closed when this update is pushed to stable
comments: Option<Vec<Comment>>
list of comments associated with this update
compose: Option<Compose>
compose this update is currently part of
content_type: Option<ContentType>
content type of this update (RPM, Module, Flatpak, Container)
critpath: bool
flag to indicate whether this update contains packages from the "critical path"
date_approved: Option<BodhiDate>
date & time when this update has last been approved
date_modified: Option<BodhiDate>
date & time when this update has last been modified
date_pushed: Option<BodhiDate>
date & time when this update has last been pushed
date_stable: Option<BodhiDate>
date & time when this update has last been pushed to stable
date_submitted: Option<BodhiDate>
date & time when this update has last been submitted
date_testing: Option<BodhiDate>
date & time when this update has last been pushed to testing
display_name: String
displayed name of this update
from_tag: Option<String>
side tag this update was created from
karma: Option<i32>
current karma total
locked: bool
flag indicating whether this update can be edited
meets_testing_requirements: bool
flag indicating whether the update satisfies requirements
notes: String
public notes associated with this update
pushed: bool
flag indicating whether this update has already been pushed
release: Release
release this update was submitted for
request: Option<UpdateRequest>
currently requested new update status
require_bugs: bool
flag to specify whether feedback for bugs is required when counting karma
require_testcases: bool
flag to specify whether feedback for test cases is required when counting karma
requirements: Option<String>
comma- or space-separated list of required taskotron test results
severity: UpdateSeverity
severity of this update
stable_days: Option<u32>
minimum of days this update has to stay in testing
stable_karma: Option<i32>
stable karma threshold set for this update
status: UpdateStatus
current status of this update
suggest: UpdateSuggestion
suggested action to take after installing this update
test_cases: Option<Vec<TestCase>>
list test cases associated with this update
test_gating_status: Option<TestGatingStatus>
greenwave gating status; one of:
failed
, greenwave_failed
, ignored
, passed
, waiting
If this value is None
, greenwave was not yet enabled when this update was created.
title: String
title of this update (automatically computed from build NVRs if display_name
is not set)
unstable_karma: Option<i32>
unstable karma threshold set for this update
update_type: UpdateType
type of this update
url: String
public URL of this update
user: User
user who created this update
version_hash: String
SHA-1 hash of the sorted, space-separated NVRs of the included builds
extra: HashMap<String, Value>
catch-all for fields that are not explicitly deserialized
Methods
impl Update
[src]
pub fn comment(&self) -> CommentBuilder
[src]
This method creates a new CommentBuilder
for commenting on this Update
.
impl Update
[src]
pub fn edit(&self) -> UpdateEditor
[src]
This method creates a new UpdateEditor
for editing this Update
.
pub fn request(&self, request: UpdateRequest) -> UpdateStatusRequester
[src]
This method creates a new UpdateStatusRequester
for editing this Update
.
pub fn waive<'a>(&'a self, comment: &'a str) -> UpdateTestResultWaiver<'a>
[src]
This method creates a new UpdateTestResultWaiver
for editing this Update
.
Trait Implementations
impl Debug for Update
[src]
impl<'de> Deserialize<'de> for Update
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Update
[src]
impl Serialize for Update
[src]
Auto Trait Implementations
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,