[][src]Struct bodhi::data::Update

pub struct Update {
    pub alias: String,
    pub autokarma: bool,
    pub bugs: Vec<Bug>,
    pub builds: Vec<Build>,
    pub close_bugs: bool,
    pub comments: Option<Vec<Comment>>,
    pub content_type: Option<ContentType>,
    pub critpath: bool,
    pub date_approved: Option<String>,
    pub date_modified: Option<String>,
    pub date_pushed: Option<String>,
    pub date_stable: Option<String>,
    pub date_submitted: Option<String>,
    pub date_testing: Option<String>,
    pub display_name: String,
    pub greenwave_summary_string: Option<String>,
    pub greenwave_unsatisfied_requirements: Option<String>,
    pub karma: Option<i32>,
    pub locked: bool,
    pub meets_testing_requirements: bool,
    pub notes: String,
    pub pushed: bool,
    pub release: Release,
    pub request: Option<UpdateRequest>,
    pub require_bugs: bool,
    pub require_testcases: bool,
    pub requirements: Option<String>,
    pub severity: UpdateSeverity,
    pub stable_karma: Option<i32>,
    pub status: UpdateStatus,
    pub submitter: Option<String>,
    pub suggest: UpdateSuggestion,
    pub test_cases: Option<Vec<TestCase>>,
    pub test_gating_status: Option<String>,
    pub title: String,
    pub unstable_karma: Option<i32>,
    pub update_type: UpdateType,
    pub url: String,
    pub user: User,
}

This struct represents a bodhi update, with associated items: bugs, builds, comments, release, status, submitter, etc. FIXME: old_updateid and updateid are either Strings (aliases) or i32s (IDs), depending on the query

Fields

alias: Stringautokarma: boolbugs: Vec<Bug>builds: Vec<Build>close_bugs: boolcomments: Option<Vec<Comment>>content_type: Option<ContentType>critpath: booldate_approved: Option<String>date_modified: Option<String>date_pushed: Option<String>date_stable: Option<String>date_submitted: Option<String>date_testing: Option<String>display_name: Stringgreenwave_summary_string: Option<String>greenwave_unsatisfied_requirements: Option<String>karma: Option<i32>locked: boolmeets_testing_requirements: boolnotes: Stringpushed: boolrelease: Releaserequest: Option<UpdateRequest>require_bugs: boolrequire_testcases: boolrequirements: Option<String>severity: UpdateSeveritystable_karma: Option<i32>status: UpdateStatussubmitter: Option<String>suggest: UpdateSuggestiontest_cases: Option<Vec<TestCase>>test_gating_status: Option<String>title: Stringunstable_karma: Option<i32>update_type: UpdateTypeurl: Stringuser: User

Trait Implementations

impl Debug for Update[src]

impl<'de> Deserialize<'de> for Update[src]

Auto Trait Implementations

impl Send for Update

impl Sync for Update

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err