#[non_exhaustive]pub enum LandingStatus {
NotRequested,
NotAttempted,
Landed,
NotLanded,
Failed,
Unknown,
}Expand description
Where a reviewed job’s landing stands.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotRequested
The call did not allow landing, and none was reported.
NotAttempted
Landing was allowed, but no turn that may land ran.
Landed
The builder reported commits on a ref.
NotLanded
The builder reported it did not land.
Failed
The builder reported a failed attempt; partial state is possible.
Unknown
A turn that may land did not complete, or its report is missing or invalid; also any status this client does not know.
Trait Implementations§
Source§impl Clone for LandingStatus
impl Clone for LandingStatus
impl Copy for LandingStatus
Source§impl Debug for LandingStatus
impl Debug for LandingStatus
Source§impl<'de> Deserialize<'de> for LandingStatus
impl<'de> Deserialize<'de> for LandingStatus
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
impl Eq for LandingStatus
Source§impl Hash for LandingStatus
impl Hash for LandingStatus
Source§impl PartialEq for LandingStatus
impl PartialEq for LandingStatus
Source§impl Serialize for LandingStatus
impl Serialize for LandingStatus
impl StructuralPartialEq for LandingStatus
Auto Trait Implementations§
impl Freeze for LandingStatus
impl RefUnwindSafe for LandingStatus
impl Send for LandingStatus
impl Sync for LandingStatus
impl Unpin for LandingStatus
impl UnsafeUnpin for LandingStatus
impl UnwindSafe for LandingStatus
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