pub struct IssueDetail {Show 17 fields
pub id: String,
pub project: String,
pub title: String,
pub state: String,
pub priority: String,
pub properties: BTreeMap<String, String>,
pub org_tags: Vec<String>,
pub tags: Vec<String>,
pub blocked_by: Vec<String>,
pub parent: Option<String>,
pub claimed_by: Option<String>,
pub claimed_at: Option<String>,
pub file: String,
pub line_start: usize,
pub line_end: usize,
pub body: String,
pub logbook: Vec<LogbookLine>,
}Expand description
One issue as a detail card: properties, tags, file range, body, and logbook.
Fields§
§id: StringIssue id, <project>-<suffix>.
project: StringProject the heading lives in.
title: StringHeading title, without tags.
state: StringTODO keyword on the heading.
priority: StringPriority cookie as a one-character string.
properties: BTreeMap<String, String>Property drawer, including planning keys held in the map.
Tags written on the heading itself.
Combined heading tags and :VISSUE_TAGS:.
blocked_by: Vec<String>Ids listed in :BLOCKED_BY:.
parent: Option<String>:PARENT: id, when set.
claimed_by: Option<String>Identity holding the issue, when claimed.
claimed_at: Option<String>Org timestamp of the claim.
file: Stringpath:line_start-line_end of the heading in its issues.org.
line_start: usize1-based first line of the heading in the file.
line_end: usize1-based last line of the heading in the file.
body: StringProse under the heading, without the property drawer or logbook.
Carried here so a caller that fetched the detail has what the issue asks for, rather than a file path and a line range to go read.
logbook: Vec<LogbookLine>Logbook lines on the heading, newest first.
Trait Implementations§
Source§impl Clone for IssueDetail
impl Clone for IssueDetail
Source§fn clone(&self) -> IssueDetail
fn clone(&self) -> IssueDetail
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IssueDetail
impl Debug for IssueDetail
Source§impl<'de> Deserialize<'de> for IssueDetail
impl<'de> Deserialize<'de> for IssueDetail
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IssueDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IssueDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for IssueDetail
Source§impl PartialEq for IssueDetail
impl PartialEq for IssueDetail
Source§impl Serialize for IssueDetail
impl Serialize for IssueDetail
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for IssueDetail
Auto Trait Implementations§
impl Freeze for IssueDetail
impl RefUnwindSafe for IssueDetail
impl Send for IssueDetail
impl Sync for IssueDetail
impl Unpin for IssueDetail
impl UnsafeUnpin for IssueDetail
impl UnwindSafe for IssueDetail
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.