Expand description
Projects, project statuses, and project milestones.
Access through LinearClient::projects:
let client = linear_api::LinearClient::from_env()?;
let page = client
.projects()
.list(linear_api::projects::ListProjectsRequest::builder().build())
.await?;
for project in &page.nodes {
println!("{} ({:?})", project.name, project.status.status_type);
}Naming note: Linear has both a mutation projectUpdate (updates a
Project) and an entity type ProjectUpdate (a status post). This module
implements the former as ProjectsService::update; status posts are out
of scope here.
Structs§
- List
Projects Request - Request parameters for
ProjectsService::list/ProjectsService::list_stream. Serialized directly as the operation’s GraphQL variables. - List
Projects Request Builder - Use builder syntax to set the inputs and finish with
build(). - Project
- A Linear project.
- Project
Create Input - Input for
ProjectsService::create. - Project
Create Input Builder - Use builder syntax to set the inputs and finish with
build(). - Project
Milestone - A milestone within a project.
- Project
Milestone Create Input - Input for
ProjectsService::create_milestone. - Project
Milestone Create Input Builder - Use builder syntax to set the inputs and finish with
build(). - Project
Milestone Update Input - Input for
ProjectsService::update_milestone. - Project
Milestone Update Input Builder - Use builder syntax to set the inputs and finish with
build(). - Project
Status - A workspace-level project status (the column a project sits in).
- Project
Update Input - Input for
ProjectsService::update. All fields are optional; theUndefinablefields distinguish leave unchanged (default) from clear (Undefinable::Null) from set. - Project
Update Input Builder - Use builder syntax to set the inputs and finish with
build(). - Projects
Service - Service for projects, project statuses, and project milestones. Obtain
via
LinearClient::projects.