pub struct LinearClientMutationAdapter { /* private fields */ }Implementations§
Source§impl LinearClientMutationAdapter
impl LinearClientMutationAdapter
pub fn new(client: Arc<LinearClient>) -> Self
Trait Implementations§
Source§impl LinearMutationClient for LinearClientMutationAdapter
impl LinearMutationClient for LinearClientMutationAdapter
Source§fn create_or_update_project_milestone<'life0, 'life1, 'async_trait>(
&'life0 self,
request: TaskGraphMilestoneRequest,
_correlation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TaskGraphMilestoneResponse, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_or_update_project_milestone<'life0, 'life1, 'async_trait>(
&'life0 self,
request: TaskGraphMilestoneRequest,
_correlation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TaskGraphMilestoneResponse, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dispatch a milestone mutation. The
op field on request selects
which underlying Linear mutation the adapter performs.fn create_or_update_issue<'life0, 'life1, 'async_trait>(
&'life0 self,
request: TaskGraphIssueRequest,
_correlation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TaskGraphIssueResponse, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_or_update_sub_issue<'life0, 'life1, 'async_trait>(
&'life0 self,
request: TaskGraphSubIssueRequest,
_correlation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TaskGraphSubIssueResponse, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_issue_relation<'life0, 'life1, 'async_trait>(
&'life0 self,
request: TaskGraphRelationRequest,
_correlation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TaskGraphRelationResponse, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_evidence_comment<'life0, 'life1, 'async_trait>(
&'life0 self,
request: TaskGraphEvidenceRequest,
_correlation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TaskGraphEvidenceResponse, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for LinearClientMutationAdapter
impl !UnwindSafe for LinearClientMutationAdapter
impl Freeze for LinearClientMutationAdapter
impl Send for LinearClientMutationAdapter
impl Sync for LinearClientMutationAdapter
impl Unpin for LinearClientMutationAdapter
impl UnsafeUnpin for LinearClientMutationAdapter
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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