#[non_exhaustive]pub enum AskReason {
ReadOutsideContent {
check_says: Option<String>,
},
AfterADecline {
declined: Option<String>,
},
}Expand description
Why the owner is asked.
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.
ReadOutsideContent
The work read content from outside, and the clean check could not confirm this step fits the request.
AfterADecline
The owner said no to a step earlier in this run, and what this call does cannot be fully told, so it is not run unasked.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AskReason
impl<'de> Deserialize<'de> for AskReason
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 AskReason
impl StructuralPartialEq for AskReason
Auto Trait Implementations§
impl Forget for AskReason
impl Freeze for AskReason
impl Move for AskReason
impl RefUnwindSafe for AskReason
impl Send for AskReason
impl Sync for AskReason
impl Unpin for AskReason
impl UnsafeUnpin for AskReason
impl UnwindSafe for AskReason
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