pub enum PullState {
Asked,
Passed,
Failed,
Merged,
}Expand description
The state of a pull request: from the status riff/verify of its
head, and from its merge.
Variants§
Asked
Open, with no verify result: it waits for a verify.
Passed
The verify passed: it waits for the merge.
Failed
The verify failed: the item is free with its work.
Merged
Merged.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PullState
impl<'de> Deserialize<'de> for PullState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PullState
impl JsonSchema for PullState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl Copy for PullState
impl Eq for PullState
impl StructuralPartialEq for PullState
Auto Trait Implementations§
impl Freeze for PullState
impl RefUnwindSafe for PullState
impl Send for PullState
impl Sync for PullState
impl Unpin for PullState
impl UnsafeUnpin for PullState
impl UnwindSafe for PullState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.