[][src]Struct jetkcli::jira::Jira

pub struct Jira {
    pub client: Client,
    pub credentials: Credentials,
    pub host: String,
}

Fields

client: Clientcredentials: Credentialshost: String

Methods

impl Jira[src]

pub fn new(credentials: Credentials, host: &str) -> Jira[src]

pub fn get_open_issues(&self) -> Result<String, JetError>[src]

pub fn get_all_projects(&self) -> Result<Vec<Project>, JetError>[src]

pub fn get_project(&self, project_name: &str) -> Result<Project, JetError>[src]

pub fn get_issue_by_id(&self, issue_id: &str) -> Result<Issue, JetError>[src]

pub fn get_transitions(&self, issue_id: &str) -> Result<Transitions, JetError>[src]

pub fn do_transition(
    &self,
    issue_id: &str,
    transition_id: &str
) -> Result<(), JetError>
[src]

pub fn assign(&self, issue_id: &str, username: &str) -> Result<(), JetError>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Jira

impl Send for Jira

impl Sync for Jira

impl Unpin for Jira

impl !UnwindSafe for Jira

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err