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>,
}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.
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
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<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
Compare self to
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> ⓘ
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