#[non_exhaustive]pub struct IssueSearchResult {Show 14 fields
pub id: IssueId,
pub identifier: String,
pub title: String,
pub description: Option<String>,
pub url: String,
pub priority: Priority,
pub estimate: Option<f64>,
pub state: StateRef,
pub team: TeamRef,
pub assignee: Option<UserRef>,
pub labels: Vec<LabelRef>,
pub metadata: Value,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
}Expand description
One hit from IssuesService::search. This is Linear’s own
IssueSearchResult GraphQL type (not Issue), so it carries a smaller
field set plus search metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: IssueIdIssue ID (UUID).
identifier: StringHuman identifier, e.g. "ENG-123".
title: StringIssue title.
description: Option<String>Issue description in markdown, when set.
url: StringURL of the issue in the Linear app.
priority: PriorityPriority (0 = none … 4 = low).
estimate: Option<f64>Estimate in the team’s chosen scale, when set.
state: StateRefCurrent workflow state.
team: TeamRefOwning team.
assignee: Option<UserRef>Assignee, when set.
labels: Vec<LabelRef>Labels attached to the issue (first 50).
metadata: ValueSearch-engine metadata about the match (relevance data; shape is not part of Linear’s stable API).
created_at: OffsetDateTimeWhen the issue was created.
updated_at: OffsetDateTimeWhen the issue was last updated.
Trait Implementations§
Source§impl Clone for IssueSearchResult
impl Clone for IssueSearchResult
Source§fn clone(&self) -> IssueSearchResult
fn clone(&self) -> IssueSearchResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IssueSearchResult
impl Debug for IssueSearchResult
Source§impl<'de> Deserialize<'de> for IssueSearchResult
impl<'de> Deserialize<'de> for IssueSearchResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IssueSearchResult
impl RefUnwindSafe for IssueSearchResult
impl Send for IssueSearchResult
impl Sync for IssueSearchResult
impl Unpin for IssueSearchResult
impl UnsafeUnpin for IssueSearchResult
impl UnwindSafe for IssueSearchResult
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