Skip to main content

Projection

Trait Projection 

Source
pub trait Projection: DeserializeOwned {
    const FIELDS: &'static str;
}
Expand description

A response type together with the fields selector that produces exactly what it decodes.

Required Associated Constants§

Source

const FIELDS: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Projection> Projection for Vec<T>

Source§

const FIELDS: &'static str = T::FIELDS

Implementors§

Source§

impl Projection for Article

Source§

const FIELDS: &'static str = "idReadable,summary,project(shortName,name),parentArticle(idReadable),childArticles(idReadable),updated,content,reporter(login,fullName),created"

Source§

impl Projection for ArticleRow

Source§

const FIELDS: &'static str = "idReadable,summary,project(shortName,name),parentArticle(idReadable),childArticles(idReadable),updated"

Source§

impl Projection for Attachment

Source§

const FIELDS: &'static str = "id,name,size,mimeType,author(login,fullName),created,url"

Source§

impl Projection for Board

Source§

const FIELDS: &'static str = "id,name,owner(login,fullName),projects(shortName,name),sprintsSettings(disableSprints,isExplicit),currentSprint(id,name),columnSettings(field(name),columns(presentation,isResolved,fieldValues(name))),swimlaneSettings(enabled,field(name))"

Source§

impl Projection for Comment

Source§

const FIELDS: &'static str = "id,text,author(login,fullName),created,updated"

Source§

impl Projection for IssueDetail

Source§

const FIELDS: &'static str = "idReadable,summary,description,project(shortName,name),reporter(login,fullName),created,updated,resolved,tags(name),customFields(name,$type,projectCustomField(field(fieldType(id))),value(name,login,fullName,isResolved,minutes,presentation,text,$type))"

Source§

const FIELDS: &'static str = "direction,linkType(name,sourceToTarget,targetToSource,directed),issues(idReadable,summary,customFields(name,$type,projectCustomField(field(fieldType(id))),value(name,login,fullName,isResolved,minutes,presentation,text,$type)))"

Source§

impl Projection for IssueRow

Source§

const FIELDS: &'static str = "idReadable,summary,project(shortName,name),created,updated,resolved,customFields(name,$type,projectCustomField(field(fieldType(id))),value(name,login,fullName,isResolved,minutes,presentation,text,$type))"

Source§

impl Projection for LinkType

Source§

const FIELDS: &'static str = "name,sourceToTarget,targetToSource,directed"

Source§

impl Projection for Me

Source§

const FIELDS: &'static str = "id,login,name"

Source§

impl Projection for Project

Source§

const FIELDS: &'static str = "shortName,name,leader(login,fullName),description,archived"

Source§

impl Projection for Sprint

Source§

const FIELDS: &'static str = "id,name,goal,start,finish,archived"

Source§

impl Projection for TimeTracking

Source§

const FIELDS: &'static str = "enabled,workItemTypes(id,name)"

Source§

impl Projection for WorkItem

Source§

const FIELDS: &'static str = "id,date,duration(minutes,presentation),type(id,name),text,author(login,fullName),issue(idReadable),created"

Source§

impl Projection for WorkItemType

Source§

const FIELDS: &'static str = "id,name"