pub struct RemoteIssue {
pub id: String,
pub title: String,
pub description: String,
pub labels: Vec<String>,
pub state: String,
pub updated_at: Option<String>,
pub assignee: Option<String>,
pub parent: Option<String>,
pub projects: Vec<RemoteProject>,
pub epics: Vec<RemoteEpic>,
}Expand description
A remote issue parsed from the tracker’s JSON list output.
Fields§
§id: StringRemote id (GitLab iid, Linear identifier).
title: String§description: String§labels: Vec<String>§state: StringRemote state (closed / Done / a column label, …).
updated_at: Option<String>ISO-8601 updated_at; None when the tool omitted it.
assignee: Option<String>Best-effort single assignee (bare name, no @).
parent: Option<String>The remote id of this issue’s parent, when the remote reported one.
A remote id, not a local number, because it is read from a remote
payload and the two id spaces are not interchangeable. It is resolved to a
local number by local_parent_number before anything is written, and
None — rather than a guess — when it cannot be resolved.
projects: Vec<RemoteProject>The project references the remote reported for this issue (WP08).
Read from the payload, in the order the payload listed them, and matched against the local registry by id before anything is written. An empty vector is the answer for a payload that reported none, which is every GitLab payload today: nothing in this build ever sends a membership, so this is only ever what the remote side already said.
epics: Vec<RemoteEpic>The epic references the remote reported for this issue (WP08, mission
epics-work-items-01M3BYW4).
Read from the payload, in the order the payload listed them, and matched
against the local registry by id before anything is written. An empty
vector is the answer for a payload that reported none — and for both trackers
today nothing in this build ever sends one (EPIC_WIRE_VERIFIED is empty),
so this is only ever what the remote already said.
Trait Implementations§
Source§impl Clone for RemoteIssue
impl Clone for RemoteIssue
Source§impl Debug for RemoteIssue
impl Debug for RemoteIssue
impl Eq for RemoteIssue
Source§impl PartialEq for RemoteIssue
impl PartialEq for RemoteIssue
impl StructuralPartialEq for RemoteIssue
Auto Trait Implementations§
impl Freeze for RemoteIssue
impl RefUnwindSafe for RemoteIssue
impl Send for RemoteIssue
impl Sync for RemoteIssue
impl Unpin for RemoteIssue
impl UnsafeUnpin for RemoteIssue
impl UnwindSafe for RemoteIssue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> ⓘ
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> ⓘ
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