pub struct ResolvedTask {
pub id: String,
pub raw: String,
pub is_custom: bool,
pub source: TaskSource,
}Expand description
A task ID resolved from some source.
Fields§
§id: StringThe ID to send on the wire. For CU-prefixed matches, this is the
stripped form (CU-abc123 → abc123). For custom IDs, the whole
PROJ-42 is preserved.
raw: StringThe raw match as it appeared in the source (branch name or CLI arg), used for user-facing messages.
is_custom: boolTrue when the ID matches the custom-ID shape (PREFIX-NUMBER) and
requires custom_task_ids=true&team_id=<ws> on the request.
source: TaskSourceWhere the ID came from.
Trait Implementations§
Source§impl Clone for ResolvedTask
impl Clone for ResolvedTask
Source§fn clone(&self) -> ResolvedTask
fn clone(&self) -> ResolvedTask
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 moreSource§impl Debug for ResolvedTask
impl Debug for ResolvedTask
Source§impl PartialEq for ResolvedTask
impl PartialEq for ResolvedTask
impl Eq for ResolvedTask
impl StructuralPartialEq for ResolvedTask
Auto Trait Implementations§
impl Freeze for ResolvedTask
impl RefUnwindSafe for ResolvedTask
impl Send for ResolvedTask
impl Sync for ResolvedTask
impl Unpin for ResolvedTask
impl UnsafeUnpin for ResolvedTask
impl UnwindSafe for ResolvedTask
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