#[repr(i32)]pub enum CheckKind {
Unspecified = 0,
FileReviewed = 1,
RiskSignalAck = 2,
}Expand description
Kind of review-progress check (weft#482).
Variants§
Unspecified = 0
FileReviewed = 1
per-file checkmark; check_ref = file path
RiskSignalAck = 2
per-risk-signal ack; check_ref = signal id
Implementations§
Source§impl CheckKind
impl CheckKind
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
impl Copy for CheckKind
impl Eq for CheckKind
Source§impl Ord for CheckKind
impl Ord for CheckKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CheckKind
impl PartialOrd for CheckKind
impl StructuralPartialEq for CheckKind
Auto Trait Implementations§
impl Freeze for CheckKind
impl RefUnwindSafe for CheckKind
impl Send for CheckKind
impl Sync for CheckKind
impl Unpin for CheckKind
impl UnsafeUnpin for CheckKind
impl UnwindSafe for CheckKind
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