pub enum LinearRequest {
Metadata {},
Binding {
team: String,
project: Option<String>,
},
Unbind {},
Issues {
team: String,
project: Option<String>,
after: Option<String>,
},
Issue {
id: String,
},
CreateProject {
team: String,
name: String,
description: String,
},
Create {
team: String,
project: Option<String>,
title: String,
description: String,
},
Update {
id: String,
state: String,
},
Place {
id: String,
state: String,
sort_order: f64,
},
Comment {
id: String,
body: String,
},
}Variants§
Metadata
Binding
Unbind
Forget the selected repository’s default team — what unticking the
team menu’s “use for this repository” does. Additive to Binding
rather than a nullable team on it, because that field is String on
the wire and the platform speaks this format from another repository.
Issues
Issue
CreateProject
A Linear project, not an issue. teamIds is plural in Linear’s own
input because a project may span teams; this creates it against the one
the panel is scoped to, which is the only team it can name.
Create
Update
Place
Where a board drop leaves a card: its column and its position in
that column, in one mutation. Separate from [Update] because a
cross-column drag changes both, and two round trips would show the card
in the right lane at the wrong height.
Comment
Implementations§
Trait Implementations§
Source§impl Clone for LinearRequest
impl Clone for LinearRequest
Source§fn clone(&self) -> LinearRequest
fn clone(&self) -> LinearRequest
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 LinearRequest
impl Debug for LinearRequest
Source§impl<'de> Deserialize<'de> for LinearRequest
impl<'de> Deserialize<'de> for LinearRequest
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
Source§impl PartialEq for LinearRequest
impl PartialEq for LinearRequest
Source§impl Serialize for LinearRequest
impl Serialize for LinearRequest
impl StructuralPartialEq for LinearRequest
Auto Trait Implementations§
impl Freeze for LinearRequest
impl RefUnwindSafe for LinearRequest
impl Send for LinearRequest
impl Sync for LinearRequest
impl Unpin for LinearRequest
impl UnsafeUnpin for LinearRequest
impl UnwindSafe for LinearRequest
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