pub struct PipelineIssue {
pub number: u32,
pub title: String,
pub body: String,
pub source: IssueOrigin,
pub target_repo: Option<String>,
pub author: Option<String>,
}Expand description
A normalized issue from any source.
Both GitHub and local issues are converted to this struct before entering the pipeline. This keeps the pipeline source-agnostic.
Fields§
§number: u32§title: String§body: String§source: IssueOrigin§target_repo: Option<String>Trait Implementations§
Source§impl Clone for PipelineIssue
impl Clone for PipelineIssue
Source§fn clone(&self) -> PipelineIssue
fn clone(&self) -> PipelineIssue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PipelineIssue
impl RefUnwindSafe for PipelineIssue
impl Send for PipelineIssue
impl Sync for PipelineIssue
impl Unpin for PipelineIssue
impl UnsafeUnpin for PipelineIssue
impl UnwindSafe for PipelineIssue
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