Skip to main content

RequestReport

Struct RequestReport 

Source
pub struct RequestReport {
    pub schema: &'static str,
    pub state: &'static str,
    pub reason: Option<String>,
    pub base: Option<String>,
    pub version: Option<String>,
    pub proposal: Option<String>,
    pub tag: Option<String>,
    pub request: Option<u64>,
    pub armed: Option<bool>,
    pub files: Vec<String>,
}
Expand description

The machine form of rk release request.

Fields§

§schema: &'static str

The shape version of this document.

§state: &'static str

opened, refreshed, closed, nothing, or skip.

§reason: Option<String>

Why nothing was proposed, where nothing was.

§base: Option<String>

The base the request merges into.

§version: Option<String>

The version the base carries, in the driver’s spelling.

§proposal: Option<String>

The version the request proposes, in the driver’s spelling.

§tag: Option<String>

The tag the proposal releases as.

§request: Option<u64>

The request’s number on the forge.

§armed: Option<bool>

Whether the request stands armed after this run.

§files: Vec<String>

Every file the request commit changed.

Trait Implementations§

Source§

impl Debug for RequestReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for RequestReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.