pub struct IssueRoute {
pub draft_comments: Vec<PathBuf>,
pub item_ref: String,
pub url: String,
pub title: String,
pub state: ItemState,
pub outcome: RouteOutcome,
pub truncated: bool,
}Expand description
The routing result for one issue.
Fields§
§draft_comments: Vec<PathBuf>Local draft source paths, as supplied to the CLI, for preview provenance.
item_ref: StringThe issue, as owner/repo#N.
url: StringThe issue’s web URL.
title: StringThe issue title.
state: ItemStateThe issue’s own open/closed state on GitHub — distinct from
depends_on’s state, which is always ItemState::Open and
describes a citation, not this issue.
outcome: RouteOutcomeThe routing, or why this issue could not be routed.
truncated: boolWhether the issue text was cut at the input cap.
Implementations§
Trait Implementations§
Source§impl Clone for IssueRoute
impl Clone for IssueRoute
Source§impl Debug for IssueRoute
impl Debug for IssueRoute
Source§impl PartialEq for IssueRoute
impl PartialEq for IssueRoute
Source§impl Serialize for IssueRoute
impl Serialize for IssueRoute
impl StructuralPartialEq for IssueRoute
Auto Trait Implementations§
impl Freeze for IssueRoute
impl RefUnwindSafe for IssueRoute
impl Send for IssueRoute
impl Sync for IssueRoute
impl Unpin for IssueRoute
impl UnsafeUnpin for IssueRoute
impl UnwindSafe for IssueRoute
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 more