pub enum OwnerCommand {
Retry,
Reroute(Option<String>),
Close,
Block(Option<String>),
Unblock,
Review,
}Expand description
Parsed owner command from an issue comment.
Variants§
Retry
Reset to status:new, re-dispatch.
Reroute(Option<String>)
Clear agent, re-route (optionally force agent).
Close
Mark status:done, close issue.
Block(Option<String>)
Mark status:blocked with optional reason.
Unblock
Mark status:new, re-dispatch.
Review
Trigger review agent on current PR.
Trait Implementations§
Source§impl Clone for OwnerCommand
impl Clone for OwnerCommand
Source§impl Debug for OwnerCommand
impl Debug for OwnerCommand
Source§impl Display for OwnerCommand
impl Display for OwnerCommand
Source§impl PartialEq for OwnerCommand
impl PartialEq for OwnerCommand
impl StructuralPartialEq for OwnerCommand
Auto Trait Implementations§
impl Freeze for OwnerCommand
impl RefUnwindSafe for OwnerCommand
impl Send for OwnerCommand
impl Sync for OwnerCommand
impl Unpin for OwnerCommand
impl UnsafeUnpin for OwnerCommand
impl UnwindSafe for OwnerCommand
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.